Re:Why I’m throwing out React and going back to Angular 1.x
by ptmcc on Tuesday March 14, 2017 @06:46PM
(#13872201)
I agree and think Backbone/Marionette is under appreciated.
Re:Why I’m throwing out React and going back to Angular 1.x
by tracker1 on Tuesday March 14, 2017 @07:32PM
(#13872523)
Make your 404 handler return your baseline react without preloaded state. If you use node server-side it becomes easier to do universal rendering and state injection.
Re:Why I’m throwing out React and going back to Angular 1.x
by jaypaulynice on Wednesday March 15, 2017 @12:36AM
(#13873848)
Thanks! I don't want to hit the web app at all...I want to load all my static files once and then it's all client side...getting data from the rest service when it needs it...
Btw I'm working on a django/react application and I have yet to figure out how to not duplicate the react routes in django. It defeats the purpose of a single page app because I don't want to reload all the same resources because a small piece of the app changes...how do you fix this?