component-elements
component-elements copied to clipboard
Create a custom element from any component with these tiny functions (2KB GZipped, ~1KB Brotli). Preact and React currently supported
- For better maintenance, we've now moved the `parseHtml` logic into the shared package - The HTML parser now outputs a generic data tree rather than VDom nodes - Converting...
I have some code that defines a `Tabs` component like `tab-list`. I am using it like this: ```jsx Keyboard Settings Gamepad Settings function DemoContent() { return ( Sample title alert()}>Submit...
Passing large objects or arrays as props through HTML attributes now requires serialising to strings and then deserialising them back to objects (through formatProps right?) It would be nice if...