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!
Try it out:
- Install Atom package
git clone [email protected]:react-cosmos/react-cosmos-atom.git
cd react-cosmos-atom
npm i
ln -s "$(pwd)" ~/.atom/dev/packages/react-cosmos
- Start React Cosmos server
git clone [email protected]:react-cosmos/react-cosmos.git
cd react-cosmos
npm i
cd examples/flatris
npm i
npm start
- Start Atom in development mode
# Open a new terminal in the same dir from Step 2.
atom -d .
- Open a fixture file inside Atom (from
__fixtures__/
) and toggle React Cosmos usingctrl-shift-r
or from Packages > React Cosmos