Re:Build your own web framework
by jokethrowaway on Friday July 29, 2022 @07:37PM
(#32282901)
I think the problem is that react is larger than several frameworks but provide 1/10 of the functionality.
If react were preact it would feel smaller and people who care about performance would embed it without thinking too much
It's a library to make components for web pages. Notably, Facebook's chat window. Later, one people decides that it's a good idea to have one giant component mounted at `body` or `div` directly underneath the body that would hold everything else and even the sun.
React didn't have much for state management and doesn't have anything for navigation support. It was released in 2013 and Create React App, which is actually a framework, was released only in 2016. Even that isn't a framework, but rather a template.
Now, Next.js and Gatsby are actually frameworks based on React. Backbone.js is an MVC framework.