News for hackers. Stuff that matters.

aquaductape

Re:Windows 11 in Svelte on Friday May 12, 2023 @04:25PM (#35921891)
SolidJS is pretty fun, has JSX, global stores, but with better runtime performance than Svelte
Re:React is a fractal of bad design on Monday March 13, 2023 @03:59PM (#35141601)
Be careful on spreading the statement "easy for React users", yes that's true for using JSX, but for React developers trying out SolidJS, make sure not to desctructure props, get rid of rerending function mental model, components only runs ONCE so reactivity works by tracking reactive elements(signals/stores) inside JSX or effects(createEffect, createMemo ect), that means no early returns. If a React developer (I've witnessed this with Twitch streamers), jumps into SolidJS blind without taking tutorial, they get lost into rerender mental model.
Re:Reactivity Without Virtual DOM on Wednesday February 15, 2023 @01:00AM (#34800609)
Svelte has largest component size compared to other frameworks such as Vue, React and Solid, so it quickly grows, even on a small webapp. Because Inferno is VDOM, I'm assuming it has a smaller component size compared to Solid.