Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual DOM Compatibility #30

Open
HighOnDrive opened this issue Feb 20, 2016 · 1 comment
Open

Virtual DOM Compatibility #30

HighOnDrive opened this issue Feb 20, 2016 · 1 comment

Comments

@HighOnDrive
Copy link

Descartes looks like a great way to handle CSS. It would be really great if it could work with virtual DOM API's like: Inferno, Snabbdom, Virtual-DOM and others. Working with Decartes in Cycle.js would be especially awesome!

@JonHMChan
Copy link
Owner

Yes, this is something I've been thinking about too. I think the major things Descartes would need in order for this to work are around triggering the application of styles based on events triggered by Virtual DOM libs. Descartes stores the style tree as a monolithic attribute and just does an initial render based on that tree, binding specific nodes for event listeners. Virtual DOM libs would just need a hook to fire the rendering methods of the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants