DEV Community

Discussion on: Start Using React.js

Collapse
z00md profile image
z00md

Just read both the posts. Here are my two cents on the topic.

Every framework/library has its own place. Every thing is there to solve specific problem. Its all about the use case. People have to understand not every website is made for public. Web apps are everywhere now. Many products are just web apps intended to be consumed by only a handful of people.
Intranet applications like system monitoring, user management, employee cms, admin dashboards with many graphs and user preferences. They dont need caching and probably are not meant for mobile devices.

Of course you can build anything using just the server but frontend frameworks make it easy. Single page apps serve a purpose.

You need to figure out what suits your requirement. And of course thats not an easy task. Thats where experience comes in. You need to know the design patterns that framework follows.

Also to add one more thing. React or similar frameworks are not made for creating todo apps or login forms. You will see the potential difference only when your apps grows to a certain scale. Until then it will be an overhead only.

So just dont blindly start using react coz its there. Analyze if you really need it.

Collapse
michaelgee profile image
Michael Gee Author

I couldn't agree more, I am not here advocating "React is the answer" because that would be equally as ignorant as telling people to just stop using it completely.

React is in the title because obviously it is responding to a post that mentions it directly and I have experience with using it personally, although some of the points I made can be directly applied to the other major JS framework/library options.

Collapse
z00md profile image
z00md

Got you:-) To add one more point, React is not easy. Just for example, its been months I having been using it, but I still encounter this almost daily - Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment; No I want a cup of tea:-D

What I want to highlight is that there is a learning curve associated with every framework. And there is no such thing like learn once and write forever. Need to constantly learn as the tech evolves.

Collapse
abror1997 profile image
Abror Xalilov

You are right