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.
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.