Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's because almost no one uses React the way it was created, but ultimately depends on what you mean by Web Framework. I don't think react includes enough to be a web framework.

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.



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


I have seen it said as "React is neither a library nor a web framework, but a view framework"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: