jsxFactory should be export from this package, not from @cycle/react-dom
Problem
jsxFactory should be export from @cycle/react, not from @cycle/react-dom.
Why
There are many DOM-free React projects in the world such as Ink and Adapt.
Library versions
| package | version |
|---|---|
@cycle/react |
v2.7.0 |
@cycle/react-dom |
v2.4.0 |
Hmm, good point! PRs welcomed (hopefully 2 PRs, one to remove JSX pragma from @cycle/react-dom, another to add it here in @cycle/react)
Okay, I'll submit a pull request in a few days! (Luckily, now it's on holidays in Japan :blush:)
BTW, instead of removing it from @cycle/react-dom at once, what do you think of deprecating it and remove it in the next major version bump?
BTW, instead of removing it from @cycle/react-dom at once, what do you think of deprecating it and remove it in the next major version bump?
Even better idea!