4 ms·
React is Angular Directives done well IMO. But it lacks features of a full-fledged MVC framework. That said, you can absolutely have a multi-page SPA built wit
by kaixi 11y ago
React is Angular Directives done well IMO. But it lacks features of a full-fledged MVC framework.
That said, you can absolutely have a multi-page SPA built with React. Check out React-router.
The code that communicates with the backend should be in your Flux Actions.
To check if you're authenticated before rendering a view, intercept the router transitions.