Echo JS 0.11.0


sylvainpv 605 days ago. link 5 points
How is this different than { condition && <MyComponent {...props} /> } ?
deerloper 605 days ago. link 1 point
It's just a sugar syntax on top of this idea. With Mayre you get a better monad-like syntax. Longer and more complex conditions are possible, for example. Or easier props composition in terms of indentation.
bstro 604 days ago. link 2 points
Interesting idea, (subjective opinion) needs a better name
MaxArt 603 days ago. link 1 point
Isn't the gotcha here that everything passed to the `of` property gets evaluated anyway, even if it's not rendered? Because that's something I'd like to avoid and why I'm still sticking to conditionals.