Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

react-cosmos/react-cosmos-atom

Repository files navigation

React Cosmos Atom

Render React components next to your code with ctrl-shift-r!

Warning: This is a working prototype, not a mature package. If you find this cool then let's make it happen together!

Tetriminos

Flatris

Try it out:

  1. Install Atom package
git clone git@github.com:react-cosmos/react-cosmos-atom.git
cd react-cosmos-atom
npm i
ln -s "$(pwd)" ~/.atom/dev/packages/react-cosmos
  1. Start React Cosmos server
git clone git@github.com:react-cosmos/react-cosmos.git
cd react-cosmos
npm i
cd examples/flatris
npm i
npm start
  1. Start Atom in development mode
# Open a new terminal in the same dir from Step 2.
atom -d .
  1. Open a fixture file inside Atom (from __fixtures__/) and toggle React Cosmos using ctrl-shift-r or from Packages > React Cosmos

About

Render React components next to your code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published