meteor Setup and "Hello World"


Add React to your project:

meteor npm install --save react react-dom react-mounter

Create the client/helloworld.jsx file to display a simple React component:

import React, { Component } from 'react';
import { mount } from 'react-mounter';

// This component only renders a paragraph containing "Hello World!"
class HelloWorld extends Component {
  render() {
    return <p>Hello World!</p>;

// When the client application starts, display the component by mounting it to the DOM.
Meteor.startup(() => {