Re:React, Relay and GraphQL: Under the Hood of the Times Web...
by stephenboyd on Sunday July 02, 2017 @03:03AM
(#14681279)
You might like Preact:
https://github.com/developit/preact
It's a 3kb React alternative with the same API.
Re:React, Relay and GraphQL: Under the Hood of the Times Web...
by jorblumesea on Sunday July 02, 2017 @03:11PM
(#14683879)
Interesting, thank you
I would argue it's the perfect candidate for this purpose. What does a news site need? Articles? Ads? Basic nav? Angular or Ember would be overkill. And with Redux, it's very easy to think about complex UI state.
My only complaint with React is how large it is given what it actually does. Loading 100kb of JS (not Gzipped) seems very heavy.