News for hackers. Stuff that matters.
Re:2016 JavaScript Rising Stars by spion on Thursday January 19, 2017 @04:43AM (#13434419)
No, only if you plan on writing any reusable components. Which is sort of the point of any framework.

Well, unless you plan on writing all your code in one file (likely painful), or using an async loader (either slow, or painful because of manually managing dependencies and load order).

Re:2016 JavaScript Rising Stars by flukus on Thursday January 19, 2017 @04:10PM (#13439523)
We had reusable components long before SPAs, but each individual page is largely unique anyway.
Re:2016 JavaScript Rising Stars by spion on Friday January 20, 2017 @12:14PM (#13445211)
Depends on what you see by "largely unique". Do you have a spinner while you wait for data to show up on each page? Then you might have a common spinner component.

Of course, you could also re-code the spinner every single time. Or you could use an existing library of components and then you don't have to deal with modules, only that library does.

Re:2016 JavaScript Rising Stars by flukus on Saturday January 21, 2017 @06:02PM (#13452572)
Easily done by including the component server side, either in the master page (for common things that are used everywhere) or the page itself. SPA's do literally nothing to componentize sites/apps that we couldn't do before.
Re:2016 JavaScript Rising Stars by spion on Sunday January 22, 2017 @06:24PM (#13458320)
How about components that you need twice on the page? Are you going to just include them and their JS twice? Or perhaps build an elaborate server-side module system, one in which components required multiple times are only included once at the end of the page with a script.