Hello, I wrote this handy little library for testing purposes: you can extract the vdom from a React
component and test it against a JSON with simple tools like assert.deepEqual() and without a real DOM.
The extracted vdom has the following type definition:
1 comment
[ 2.3 ms ] story [ 9.2 ms ] threadThis is an example of massive use in a form generation library:
https://github.com/gcanti/tcomb-form/blob/master/test/test.j...
Hope it can help you too.