dy / unihooks

Universal unreacted hooks
MIT License
21 stars 1 forks source link

useRender #13

Closed dy closed 4 years ago

dy commented 4 years ago

Although that may seem tempting to turn JSX into hook side-effect, that is not suited for spect case. Since spect observes elements, the natural main effect (returned result) must be the HTML, replacing the element - that safely turns spect into html reducer.