| ▲ | zackify 2 hours ago | |||||||
The cycle isn't short like people continue to say each year. I use react since 2014 and it hasn't changed much in 6-7 years. I just built a script tag based reusable library for our company with react as the only dependency and thanks to stuff like shadow Dom and dialogs I get a much higher quality dev experience than plain js. | ||||||||
| ▲ | afavour an hour ago | parent [-] | |||||||
Best practises have changed dramatically in React since 2014 though. It’s easy to say “oh you don’t have to use hooks, you can keep using class components” but that’s not really true when the entire ecosystem is pivoting. My bigger problem with React is that it ends up being used as a form of vendor lock in. Once your entire page is in the React VDOM it’s very, very difficult to pivot to a different framework piece by piece. That’s a core strength of web components. | ||||||||
| ||||||||