Show HN: Frax – Experimental abstraction layer for coding of web UIs
docs.google.com
docs.google.com
Direct link to pdf on Github: https://github.com/MikaeI/frax/blob/master/Frax%20presentati...
This would be a huge story if you're right.
For example:
- Register template
- Register worker
- Create store
- Create element
- Add event handler
Give them explicit names and function signatures (number and type of arguments).
An abstraction is great until it becomes too far removed from the actual operations that it performs. Among programmers, this is called "magic", as a term of criticism. Avoid too much magic: show us the internal workings, and give users the power to handle the things (data and algorithms) directly and concretely.
I'd love to see a code example of how you see clickableClassNames and changeableClassNames working in practice (and how that may be expanded to support other events), or even a clone of the token todo app.