No description, website, or topics provided.
JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Basic Meteor 1.3 with React using NPM

Usage: install npm packages & run meteor:

npm install

How to create from scratch

meteor create <projectname>
cd <projectname>
meteor update --release 1.3-modules-beta.2
echo {} > package.json
npm --save install react react-dom react-router history

Then place your client files in the clients folder.

###Meteor Data To use meteor data install the react-meteor-data package and the react-mixin package

meteor add react-meteor-data
npm --save install react-mixin

You can use the getMeteorData function after adding the following:

import reactMixin from 'react-mixin';
... //Class definition
reactMixin(<classname>.prototype, ReactMeteorData);