react-from-markup
react-from-markup copied to clipboard
Declare your React components with static HTML
Blocked by #48, and have based this on that. --- ## What? Enables custom query selectors, which can eliminate any custom markup. Instead of this ```html 15:21:11 ``` You can...
## What? Implements support for containerless rehydration. Instead of ```html 15:21:11 ``` You can now have ```html 15:21:11 ``` ## How? It does this by: 1. Using the keys from...
* Adds a `.prettierrc` file so that the default settings are applied * Extracts `rehydrateChildren` to a separate file to aid in later testing * Exports `IOptions` and `IRehydrator` for...
`index.js` of `react-from-markup` has unclear function names. The names should be improved, and - to aid in hunting down and removing unnecessary circular dependencies, and generally improve code readability -...
to: * delete `packages/.../lib` * delete `node_modules`?
Add some testing utilities. In particular, a version of [`MarkupContainer`](https://github.com/simon360/react-from-markup/blob/master/docs/demos/components/MarkupContainer/MarkupContainer.js) that can be used by developers who are using the library in their project, would be handy. Need to delineate...
This library should be _thoroughly_ tested. The unit tests from `wel-ui` covered most of the two packages, but had some holes. Since this is basically a rewrite, the tests will...
Opening for discussion. This is just a proposal based on our offline discussions regarding focussing the README on code. If you decide to move forwards with this / something like...
There's not much detail given about how both functional and unit testing can be accomplished. Give some detail about using `ReactDOMServer` to render statically on-page, and running a rehydrator in...