Re:I love React Hooks
by d357r0y3r on Wednesday February 20, 2019 @02:27AM
(#19206276)
mobx-react-lite (supported by the main mobx team) uses hooks under the hood, but extends mobx-react behavior to SFCs. I don't think it creates any additional boilerplate and it aligns with the direction React is going.
[ Parent
| on HN ]
Re:I love React Hooks
by Azeralthefallen on Wednesday February 20, 2019 @03:00AM
(#19206387)
Unfortunately to me examples like this looks like you are trying to fit a square peg into a round hole and are twisting something to fit reacts new functional direction.: https://github.com/mobxjs/mobx-react-lite#useobservabletinit...