Codesandbox-client: Help us test Codesandbox with Overmind

Created on 4 Sep 2019  ยท  1Comment  ยท  Source: codesandbox/codesandbox-client

Codesandbox is about to switch out its state management system from Cerebral and mobx-state-tree to Overmind.

The main reason for switching it out is:

  1. Get Typescript support
  2. Avoid HOCs in our React components
  3. Keep the state management devtool experience

As a result Codesandbox will be:

  1. Less error prone as Typescript has our back
  2. Cleaner codebase as we are not worried about refactoring
  3. More contribution friendly as Overmind has an "API-less" api

How to help:

  1. Go to codesandbox.stream, which is the test environment of Codesandbox. You will enter a React sandbox which you can fork. Currently you can not test other types of sandboxes as they are not part of the staging environment. You will not see any of your production content here either
  2. Open up the browser console and run the following exposed global function:

Screenshot 2019-09-04 at 11 35 07

  1. The browser refreshes automatically and you should now see the Overmind logo down left:

Screenshot 2019-09-04 at 11 46 30

  1. To move back you can do the same with: useOvermind(false)

What to test?

Basically everything. Just use Codesandbox as you normally do. You will soon be able to do this switch on codesandbox.io as well.

Any issues can be reported here on Github. Please include Overmind in the title of the issue.

โ• Help Wanted

Most helpful comment

I just tried to follow the steps and it seems that

run the following exposed global function

does not work. useOvermind is not defined

>All comments

I just tried to follow the steps and it seems that

run the following exposed global function

does not work. useOvermind is not defined

Was this page helpful?
0 / 5 - 0 ratings