▲ React conditional rendering done right 🕶 at github.com▼2 up and 0 down, posted by deerloper 2772 days ago 7 comments
sylvainpv 2772 days ago. link 5 points ▲ ▼How is this different than { condition && <MyComponent {...props} /> } ?
deerloper 2772 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.