镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

About

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

Resources

Stars

1 star

Watchers

0 watching

Forks

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 git@github.com: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

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages