This package has been deprecated

Author message:

Package deprecated due to lack of binding options

aurelia-react

0.0.3 • Public • Published

aurelia-react plugin

An Aurelia plugin to enable the use of React components within Aurelia views.

Installation

Install the plugin through jspm:

jspm install aurelia-react

Next register the plugin with Aurelia, also register your react components with the plugin:

import { ReactComponent } from 'components/my-react-component';
import * as Components from 'components/components';
 
export function configure(aurelia) {
  aurelia.use
    .standardConfiguration()
    .developmentLogging()
+   .plugin('aurelia-react', {
+     ReactComponent,
+     Components
+   });
 
    aurelia.start().then(() => aurelia.setRoot());
}

Usage

Package Sidebar

Install

npm i aurelia-react

Weekly Downloads

4

Version

0.0.3

License

CC0-1.0

Last publish

Collaborators

  • corstianboerman