Hacker News new | past | comments | ask | show | jobs | submit login

As a backend developer who didn't 'get' web development for many years. Learning react changed all of it. React was revolutionary, and just clicked for me. Combine this with frameworks like Material UI, Patternfly and many others and its almost like you have some super power. These days I can build fairly big sites with lots of stateful components quickly.

Most of my use cases is to build internal tools. But the pace with which once build things in react and its over intuitiveness just makes it special.

React is one framework which Im sure will be available for long time to come!

Thank you React dev team.




As someone who started in front-end and was deluged with 2000s conventional wisdom like "don't use inline styles" and "keep scripts separate from your CSS and HTML markup", React made absolutely no sense.


Even if people understand this at a conscious level, it's rarely explained:

> and "keep scripts separate from your CSS and HTML markup"

was for documents, not interactive applications, with the goal being that a document could be reformatted through CSS for multiple different displays. The earliest example I can recall was web vs print (as in, in the browser go File -> Print; you can specific different CSS rules so the page prints differently than it shows in the browser). Screen size / mobile displays are other examples that came later.

React on the other hand is great for interactive applications, which have always worked component-style - a checkbox or a dropdown in a native GUI would be used multiple times and knows how to style itself, for example, which is the same as what a React checkbox or dropdown would do.

> "don't use inline styles"

This rule was broken simply because there wasn't a better way to do the component packaging at the time. Nowadays we have CSS Modules, which separates them again.


Embrace it for awhile and it really is special.

You've a function that returns JSX which is your HTML where you can use Javascript to reference functions/variables (e.g. the state variables)

One of the key parts is that you can break it all down into different files/functions that return jsx so you can isolate complicated parts


Agreed. There's a "before I knew React" and "After I knew React" bifurcation of my career.

Before, I could call myself a "full stack dev" because I could cobble together a site with JS, but it wasn't pretty. It didn't follow any real conventions, was a nightmare to maintain, forget about testing, etc.

After learning React, I actually can design, and structure the code in a logical way. Testing is a lot simpler, code reuse makes sense... it created a mental framework on which I could translate my ideas into usable code that pattern matched to how I was used to building code for the backend.

I will never feel like I'm a "frontend dev", but I don't need to be. I can take an idea, and turn it into a functioning service, and isn't that all we're here to do anyway?


Similar feelings here. To me, React was one of the first approaches to web frontend development that really promoted good engineering practices.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: