Closed rolandpeelen closed 4 years ago
@rolandpeelen: tried building your branch, on bs-platform 8.2.0 complained with jsx is not supported
in explicit jsx3 annotation:
[@bs.config {jsx: 3}];
in reductiveContext.re
and subscription.re
.
Removing those explicit jsx3 annotation fixed the build for me.
@rickyvetter: Thanks!
This should fix https://github.com/reasonml-community/reductive/issues/60
It seems the only thing needed was a bump in the version spec and a rewrite on one of the examples. To make the example slightly clearer / more readable I moved a thing or two into a module here and there. More like one would have in an actual project. The only thing I removed was the Thunks as I'm unfamiliar with the typing there. It seems that it also adds complexity to the example where it shouldn't.