Hey guys, I'm a noob with a lot of questions trying to become a good developer. I've worked with Flask for a while now and really in love with it. I use Flask for most of my web projects because its the platform I'm most comfortable with.
But recently, I've seen some beautiful websites and web apps built using React. Now I'm confused, I want to build those kinds of projects but I'm not sure if Flask is really the best thing to use for that. So should I learn to React continue to build those projects in Flask?
Help me out guys, any suggestion is appreciated.
Top comments (1)
If we are talking about aesthetical beauty of the sites, the underlying tech doesn't matter at all, it's all about the CSS.
Otherwise, Flask takes care mostly of backend APIs and uses Jinja as a template engine. React mainly handles the rendering of the app state into the DOM. You can still use Flask for the backend APIs and use React in the frontend, if that's the route you want to go.
But, as I've said, it doesn't really matter. Plenty of successful web apps are built with Flask, plenty of other successful web apps are built with React, and some of them are built with both. You should pursue what you are interested in.