▲ | baxuz 6 hours ago | |
React is a good POC and a was a necessary step, but it's far from well designed. The performance is atrocious unless you want to spend most of your time ejecting from the framework to do any realtime work, and building meta-tooling that uses direct DOM manipulation and only occasional state syncing with React, like video keyframes. This is the approach taken by many projects, including tldraw, framer, everything from poimandres, and many things from tanstack. The issue is that it's a "demented" framework where everything re-executes all the time and it's up to you to manage repainting and memoization manually. Because a "render" is executing the entire component tree. The compiler is just a massive band-aid on a fundamentally broken architecture, that every other framework has moved away from. |