News for hackers. Stuff that matters.
Re:Metaphysics and JavaScript by pier25 on Wednesday September 04, 2019 @04:50PM (#20881270)
I've tried Svelte and while I don't love some of the dev ergonomics it's a damn fine project.

React was a great alternative to Angular back in 2015 but it's not even close to being objectively the best solution in 2019 except for its popularity. Preact or Inferno are so much faster/lightweight and are pretty much drop-in replacements for React.

BTW is there a video of this presentation somewhere?

Re:Metaphysics and JavaScript by _bxg1 on Wednesday September 04, 2019 @05:08PM (#20881428)
We pretty much only use React for rendering and lifecycle (still rocking class-based components). Does Preact offer material improvements other than bundle size? If so I might look into switching.
Re:Metaphysics and JavaScript by pier25 on Wednesday September 04, 2019 @05:25PM (#20881587)
Preact is considerably faster, but maybe React is good enough in your use case.

I also prefer using mostly class based components and some functional components for lightweight dumb components. I use Inferno for rendering and vanilla + MobX for everything else.

Re:Metaphysics and JavaScript by _bxg1 on Wednesday September 04, 2019 @05:27PM (#20881611)
We certainly have performance bottlenecks in our rendering, so if a different library is faster we're definitely interested