Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/d4l3k/polymer-react

Use React in Polymer 3 elements.
https://github.com/d4l3k/polymer-react

horrific polymer polymer3 react

Last synced: 14 days ago
JSON representation

Use React in Polymer 3 elements.

Awesome Lists containing this project

README

        

# 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) [![Build Status](https://travis-ci.com/d4l3k/polymer-react.svg?branch=master)](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