4 ms·
You know how to make an incredibly fast single page app? Pre-render it on the server. I'm tired of waiting several seconds while the JS framework gets initializ
by RussianCow 12y ago
You know how to make an incredibly fast single page app? Pre-render it on the server. I'm tired of waiting several seconds while the JS framework gets initialized.
- igvadaimon 12y agotruly so. I'm currently developing an isomorphic app with react/flux and pre-rendering on the server is really a revelation.
- saalaa 12y agoI've done that for our company's websites. We were sort of forced into it by search engines but overall it's much better now. The frontend is written in Backbone.Marionette and it wasn't exactly simple.
- igvadaimon 12y agoWell, React was designed to be isomorphic. I found it pretty simple.
- saalaa 12y agoOur project was started before React was public. I'd certainly look at React if I were to start a project.
- huula 12y agoYou are right, http://huu.la http://huu.la is using server rendering and prefetching technique, which makes the ux x00% better than this one.
- thomasfl 12y agoYes, huu.la is smooth.
- EugeneOZ 12y agoTry to use minification and concatenation, then it will be just 1 js file. Blanket assumptions about server rendering are not enough close to reality: http://www.onebigfluke.com/2015/01/experimentally-verified-why-client-side.html http://www.onebigfluke.com/2015/01/experimentally-verified-w...