Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Examples

  1. What's in here
  2. Run the examples
  3. Project Structure

What's in here

ChatBot

A messaging client that interacts with a chat bot. This example demonstrates optimistic updates, asynchronous requests, and loading states.

Painter

A simple drawing application. Click tiles across a grid to flip them between black and white. This example was created to test the time-travel debugger for Microcosm.

ReactRouter

Demonstrates use of Microcosm with ReactRouter.

SimpleSVG

An animated SVG example that uses actions to animate the orbiting of one circle around another. Demonstrates the thunk usage pattern for actions.

Run the examples

To run these examples, install project dependencies and execute npm start in any of the directories:

$ git clone https://github.com/vigetlabs/microcosm
$ cd microcosm
$ npm install

$ cd examples/simple-svg
$ make