-
-
Notifications
You must be signed in to change notification settings - Fork 61
Description
I want to use the sauron DOM/VDOM and the html_parser as a library, thus not in a typical sauron context.
I tried to use percy for this, see chinedufn/percy#208, but my results so far are not good enough to replace https://github.com/qknight/blog.lastlog.de/blob/master/js/diffDOM.js which is used in pankat at the moment.
The vdom/dom libraries I was looking into is documented at nixcloud/pankat#7
main question
That said, looking at the examples at https://github.com/ivanceras/sauron/tree/master/tests all dom patching is done using the https://github.com/ivanceras/sauron/blob/master/tests/test_fixtures.rs by creating a small sauron runtime (I assume).
html_parse can be used as a library without runtime in https://github.com/ivanceras/sauron/blob/master/tests/html_parser_test.rs but can I use dom without spawning a sauron runtime?