Skip to content

Render and server a React component in node and then pick up where it left off in the browser.

Notifications You must be signed in to change notification settings

DallasNode/react-demo

Repository files navigation

React Demo

This demonstration uses Facebook's React. With React as a view layer, we are able to re-use the exact same view code in the browser and in node which is great for SEO, consistency, and fewer bugs.

Install

In your terminal...

git clone [email protected]:DallasNode/react-demo
cd react-demo
npm install
# npm install -g bower (if it's not installed)
bower install
make

Now open up http://localhost:8000 in your browser.

cogs will be running a watcher in the background and recompile your changes on the fly, so feel free to poke around and refresh the page to see your updates. watchy keeps an eye on the server files so that when they change, the server is restarted accordingly.

About

Render and server a React component in node and then pick up where it left off in the browser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published