0.0.7 • Published 7 years ago
react-apollo-shared v0.0.7
react apollo shared
Get the AMD module located at react-apollo-shared.js
and include it in your project.
Here is a sample integration:
require.config({
paths: {
'react': 'vendor/bower_components/react/react',
'ReactApolloShared': 'react-apollo-shared'
}
});
require(['react', 'ReactApolloShared'], function(React, ReactApolloShared) {
React.render(React.createElement(ReactApolloShared), document.getElementById('widget-container'));
});
Development
- Development server
npm start
. - Continuously run tests on file changes
npm run watch-test
; - Run tests:
npm test
; - Build
npm run build
;