First of all, I want to know if this makes sense to you, I have more doubts than answer but here are my thoughs. Basically, allow to write this code (taking the list example from readme):
Implementation shouldn't be so hard, unless I'm missing something, it would need a registration method for components, and when evaluating tags, if the tag is a registered component, use the registered function for that component. The benefit I see here is for frameworks/libraries depending on bel in supporting components, like in choo . and also the similarity with other component based libraries like React and Vue. Now my doubt is if those benefit are enough for changing bel. Also, this change wouldn't be a breaking change, just a minor release.
Any thoughts about it? Am I talking nonsense? :speak_no_evil:
First of all, I want to know if this makes sense to you, I have more doubts than answer but here are my thoughs. Basically, allow to write this code (taking the list example from readme):
like this
Implementation shouldn't be so hard, unless I'm missing something, it would need a registration method for components, and when evaluating tags, if the tag is a registered component, use the registered function for that component. The benefit I see here is for frameworks/libraries depending on bel in supporting components, like in choo . and also the similarity with other component based libraries like React and Vue. Now my doubt is if those benefit are enough for changing bel. Also, this change wouldn't be a breaking change, just a minor release.
Any thoughts about it? Am I talking nonsense? :speak_no_evil: