wired-elements-react
wired-elements-react copied to clipboard
React wrappers for wired-elements
 Copying the example in the docs, I am trying to use text as the child of a button. Typescript is complaining about ```'WiredButton' components...
I'm guessing this project is a bit dead ;) I saw WiredElements and thought it looked just so cute, I had to use it :) Realized a bit too late...
@lit-labs@react has a new creatComponent syntax: ``` export const WiredInput = createComponent({ react: React, tagName: 'wired-input', elementClass: _WiredInput, events: { onChange: 'input', onchange: 'input' } }); ``` I also changed...
https://www.npmjs.com/package/wired-elements-react has an incorrect (outdated?) url for this repository it links to https://github.com/rough-stuff/react-wired-elements (which is 404) instead of this repo cheers
I've tried to use the plugin in a project created with the following command: ``` yarn create react-app my-app --template typescript ``` After running `yarn start`, webpack dev server fails...
`@lit-labs/react v1.0.0-rc.1`generates invalid typescript type definitions, this issue seems to be resolved in rc.2 Example ```` Submit ```` Results in the following error: ``` 'WiredButton' components don't accept text as...
### Move `react` to peerDependency Specifying `react` as a dependency can cause multiple versions of React to be present in a single consumer build if there is a semver mismatch...
Love the concept but it is unusable with typescript.