That is if you plan to run almost the same code on all platforms
Two counter examples here:
- For devices without a JS interpreter, app is executed server-side
- Progressive enhancement / Graceful degration : some platforms can have more features than others