https://github.com/d4l3k/polymer-react
Use React in Polymer 3 elements.
https://github.com/d4l3k/polymer-react
horrific polymer polymer3 react
Last synced: 1 day ago
JSON representation
Use React in Polymer 3 elements.
- Host: GitHub
- URL: https://github.com/d4l3k/polymer-react
- Owner: d4l3k
- License: mit
- Created: 2018-08-27T22:39:41.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-27T23:19:08.000Z (almost 7 years ago)
- Last Synced: 2025-06-06T08:38:24.233Z (about 1 month ago)
- Topics: horrific, polymer, polymer3, react
- Language: TypeScript
- Homepage: https://www.webcomponents.org/element/polymer-react
- Size: 14.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# polymer-react [](https://www.webcomponents.org/element/polymer-react) [](https://badge.fury.io/js/polymer-react) [](https://travis-ci.com/d4l3k/polymer-react)
Use React in Polymer 3 elements.
## Usage
```javascript
import {PolymerElement, html} from '@polymer/polymer/polymer-element.js'
import React from 'react'import 'polymer-react'
export class PRExample extends PolymerElement {
const props = {
bar: 10
}static get template () {
return html```
```
}render (props) {
return
}
}customElements.define('pr-example', PRExample)
```## License
polymer-react is licensed under the MIT license.
Copyright (c) Tristan Rice 2018