grammarly / focal

Program user interfaces the FRP way.
Apache License 2.0
723 stars 34 forks source link

lift Fragment #36

Closed oleksiilevzhynskyi closed 6 years ago

oleksiilevzhynskyi commented 6 years ago

The idea is to lift Fragment to use observable as children.

<F.Fragment>{Atom.create(10)}</F.Fragment>

Fragment allows only key and children as properties - https://reactjs.org/docs/fragments.html Codesandbox prototype - https://codesandbox.io/s/xo07o7p3vz