react-walk
react-walk
exposes a couple functions to help you read and manipulate ReactElements
as trees.
All this shit is under construction get out of here.
Example
import React from 'react';import * as ReactWalk from './src/react-walk';import ReactDOMServer from 'react-dom/server'; const page = <html> <head> <title>I am an html5 page psych me JSX</title> </head> <body> <div ="poop"/> </body> </html>; // NOTE(brian): shit's still kinda low-level but I want to add a bunch more// functions as we figure out what we're actually creating a library for I dunnoconst hydratedPage = ReactWalk; console;// <html><head><title>I am an html5 page, psych it's me, JSX</title></head><body><div>I pooped!</div></body></html>