Y
Hacker News
new
|
ask
|
show
|
jobs
by
d357r0y3r
2676 days ago
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.
1 comments
Azeralthefallen
2676 days ago
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...
link