News for hackers. Stuff that matters.
Re:GitHub Stars !== Usage: React Is Still Blowing Vue and An... by crooked-v on Tuesday June 19, 2018 @01:35PM (#17348652)
To me, React also has the killer feature of being "generic enough" that I can see directly migrate-able variants of it still being used in ten years. The backend may change, but the basic setup of JSX -> function transpiling with param-attribute equivalency is simple enough to be a new foundational structure.
Re:GitHub Stars !== Usage: React Is Still Blowing Vue and An... by baddox on Tuesday June 19, 2018 @02:44PM (#17349254)
That's a big one for me, particularly with the way I prefer to write all my React components: as stateless functional components (just a function that takes props as its only argument and returns some JSX). For adding state, lifecycle methods, etc. I'm using recompose, which is also generic enough that I could easily see myself reimplementing it for some future view library.
Re:GitHub Stars !== Usage: React Is Still Blowing Vue and An... by lsalvatore on Tuesday June 19, 2018 @01:57PM (#17348870)
Yep, React seems to have been built from the beginning as a new foundation. It leveraged ES6 features just as they were coming out, so we got to learn a new way to write JavaScript and HTML at the same time.