polymer-react - Vaadin Add-on Directory
Use React in Polymer 3 elements.# polymer-react [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/polymer-react) [![npm version](https://badge.fury.io/js/polymer-react.svg)](https://badge.fury.io/js/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)
```
View on NPMView on GitHub
polymer-react version 1.0.0
### Dependencies
* @polymer/polymer#^3.0.5
* react#^16.4.2
* react-dom#^16.4.2
polymer-react version 1.0.1
### Dependencies
* @polymer/polymer#^3.0.5
* react#^16.4.2
* react-dom#^16.4.2