Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/d4l3k/polymer-react
- Owner: d4l3k
- License: mit
- Created: 2018-08-27T22:39:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-27T23:19:08.000Z (over 6 years ago)
- Last Synced: 2024-12-15T12:21:46.597Z (21 days ago)
- Topics: horrific, polymer, polymer3, react
- Language: TypeScript
- Homepage: https://www.webcomponents.org/element/polymer-react
- Size: 14.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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