- // Define a collection to hold our tasks.
- Tasks = new Mongo.Collection('tasks');
- if (Meteor.isClient) {
- Meteor.startup(function () {
- // Use this branch to render the component after the page is ready.
- ReactDOM.render(<App />, document.getElementById('render-target'));
- });
- }
|