+ 5
Angular, react or... nothing?
I am good in javascript, knowing how to solve problems. But i want to do my app more scalable. Will it be easy to do it with these frameworks or handling will be too complicate for no reason? Is back-end development alone (e.g. express) enough for this purpose?
7 odpowiedzi
+ 4
Scalability is more about how your back-end is built. Nevertheless, writing modular JavaScript will help in making your application more scalable.
I have only used React and it is perfect when it comes to building highly scalable single page applications.
However when building round-a-trip websites, React(or Angular) is not the best choice and it may be difficult to maintain on the long run.
+ 4
Ore For building websites, you can consider next.js which is react based with server side rendering (ssr) features.
It makes website pages easily to maintain and reuse like components, and websites are seo friendly too due to ssr on every init fetch page.
Performance of the pages are much faster than transitional server fetched html/js pages due to react.js.
Since it's react based, all react libraries including react-redux can be added to next.js for building dynamically response webpages.
+ 4
Calviղ I am well aware of server side rendering options but the subject matter here is scalability. I think the advantages of ssr are non-existent in a large project. It adds complexity and time wasted in testing two different environments - browser and server. That is why I believe React is always bad for large round-a-trip websites.
+ 3
Ore you really should try out next.js, it makes webpage design much simple and scalable. it's different from ssr you used last time, next.js already handle all the ssr complexity in the library.
https://blog.jakoblind.no/case-study-ssr-react/
Just go to build some simple pages from next.js, you would understand what I mentioned here.
Ssr has been evolved in recent years.
+ 3
I also hope that sil 🇬🇷 can build some websites based on next.js, I just want to emphasize react also can build good websites nowadays.
+ 3
Both of you gave me very good answers! I am thankful!