Get React-WinJS

Adding the React-WinJS adapter alongside of WinJS facilitates the usage of WinJS UI controls in a React application.

For more information, check out the React-WinJS documentation, examples and changelog on GitHub.

React-WinJS 2.4.0 Direct Download (zip)

Package Manager

npm

npm install react-winjs

NuGet

Install-Package React.WinJS

Usage

First, include WinJS in your project as described on the downloads page for WinJS

Once that is done, require react-winjs and use it:

var React = require('react');
var ReactWinJS = require('react-winjs');

var App = React.createClass({
  render: function () {
    return <ReactWinJS.Rating maxRating={3} />
  }
});

React.render(<App />, document.getElementById("app"));