Hacker News new | ask | show | jobs
by allover 2859 days ago
> But React, Preact are still view libraries right?

No, they're component-oriented. View suggests you're doing MVC or similar. You don't need an M & C with React -- you will likely need to add react-router, but react + react-router (or preact + preact-router) is all the 'framework' you need for most apps.

1 comments

Ok. For that matter, Mithril is also component-oriented and router is included.

And what I meant by react being a view library is that react by itself only handles the UI part and you need to get additional libraries to handle stuff like routing and talking with the server. This stuff is provided by mithril itself.