5 ms·
Yes,! this was in my mind and I'm trying to apply the same technique. Here is a backstory. I'm a UI developer and I code to build UI, question that came to me,
by imvetri 5y ago
Yes,! this was in my mind and I'm trying to apply the same technique.
Here is a backstory. I'm a UI developer and I code to build UI, question that came to me, why not build an UI that builds the UI?
It's an IDE or a design tool. I tried it, built it, https://github.com/imvetri/ui-editor https://github.com/imvetri/ui-editor. but I wasn't really not convinced. why? A problem is solved only when solved recursively.
I did solve it recursively - I built an UI to build an UI, however I wanted to take to next step.
I'm trying to reduce code and include more interactions. I'm really not sure how to build a true UI that can build UI, but Fibonacci series or other growing functions that is solved recursively is my inspiration.
How to apply that to building User interfaces ?
Everything is a rectangle. A rectangle can have children rectangles. A rectangle can have sibling rectangle.
A parent rectangle can create children rectangle. A parent can delete child rectangle. A rectangle can edit itself. hahaha
A parent rectangle can edit itself to create more children.
So I need one rectangle hardcoded that can create more children, and can edit itself
And I have solved that too - https://vimeo.com/464104903 https://vimeo.com/464104903.
TDLR: I work on a side project to bring all frameworks under one hood (by targeted code generation to different framework with single source of truth. It is tested well for reactJS). I still want to work on it on everyday basis, but couldn't find the time I had 3 years back. However I'll be glad to set some time to guide someone if they are interested to contribute.