-
Notifications
You must be signed in to change notification settings - Fork 177
Remove dependency on react-dom #68
Comments
Yea, the idea is that eventually React ART will integrate its own renderer and eventually we'll have a publicly supported way of doing so. The big blocker is making it work seamlessly across renderers with context etc. This is related too. facebook/react#4230 |
Note that even |
It already doesn't depend on Lines 20 to 26 in d98e74e
(That's not a practical help right now since there aren't any other DOM renderers.) |
But react-art assumes the user is using ReactDOM doesn't it? As given in your example https://github.com/reactjs/react-art/blob/master/examples/vector-widget/app.js#L7 |
Yea this probably breaks without it. https://github.com/reactjs/react-art/blob/master/src/ReactART.js#L198 |
@sebmarkbage I think that's actually fine? That points to the composite. |
@spicyj Not if that composite was rendered by a different renderer than |
With 0.14 React release the core React library is split from the DOM renderer in order to encourage projects like this to create their own rendering system. Are there plans to make a new renderer or will react-art continue to use react-dom? Will there be tutorials on the React site in the future on how authors can create their own renderer (what integration methods are required etc)?
The text was updated successfully, but these errors were encountered: