You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you for this neat framework. I’m coming from Elm and I’m currently evaluating Flame to rewrite an Elm app in PureScript.
Is there a way to have HTML elements with an empty array of attributes and/or children?
p [] […children…] must be replaced by p_ […children…]
p […attributes…] [] must be replaced by p' […attributes…]
p [] [] is impossible to obtain (am I wrong?)
For readability reasons I want to avoid the HE. prefix everywhere before my tags so I import my elements one by one, and having to import p, p', p_ etc. is redundant.
For the same readability reason I really wish we could use explicit empty arrays rather than one character suffixes that completely change the usage of the element. Is there a way to do that without monkey-patching Flame? If not then you can consider this issue as a feature request 😉
Cheers,
Laurent
The text was updated successfully, but these errors were encountered:
Hi, thank you for this neat framework. I’m coming from Elm and I’m currently evaluating Flame to rewrite an Elm app in PureScript.
Is there a way to have HTML elements with an empty array of attributes and/or children?
p [] […children…]
must be replaced byp_ […children…]
p […attributes…] []
must be replaced byp' […attributes…]
p [] []
is impossible to obtain (am I wrong?)For readability reasons I want to avoid the
HE.
prefix everywhere before my tags so I import my elements one by one, and having to importp, p', p_
etc. is redundant.For the same readability reason I really wish we could use explicit empty arrays rather than one character suffixes that completely change the usage of the element. Is there a way to do that without monkey-patching Flame? If not then you can consider this issue as a feature request 😉
Cheers,
Laurent
The text was updated successfully, but these errors were encountered: