infernojs/inferno ? reverse-engineered prompt
Reverse engineered prompt
Build me a fast, React like JavaScript library for making modern web user interfaces.
I want it to let me write components, pass props and state, render to the browser and also support server side rendering. It should feel familiar to React users, with JSX, class components, functional components, lifecycle style hooks, refs, fragments, portals, controlled form inputs, and a simple event system. Please make it focus on performance, especially for large or frequently updating screens, and keep the API clean and easy to learn.
Include a small demo app and some basic docs or examples so I can see how to use it right away. If you need to check current best practices for JSX tooling or browser support, look up the latest docs online. I’d also like it to work well without needing a bunch of extra polyfills, and to have a few benchmark style examples that show why it is fast.
Are you gonna build this?
make sure you review the code using coderabbit