Open intfract opened 1 year ago
Props are almost out. I am tweaking the web-for
attribute that allows you to render elements iteratively.
Props are actually overpowered with the loop
function. Components are so godly with props. However, the inline script stuff seems a bit fishy. It may need some bug fixing.
This framework is perfect for dynamic SSR but there is room for improvement. The components work, but I can't pass any parameters apart from
innerHTML
into slots. It would be nice to have attributes that bind or render the component in a specific way.The idea is rendering components dynamically so that code can be reused effectively with minimal JavaScript. It saves developers from making AJSON requests and making the user wait for content.