component-elements icon indicating copy to clipboard operation
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

Results 3 component-elements issues
Sort by recently updated
recently updated
newest added

- 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...

enhancement
preact
react

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...