Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help us test Codesandbox with Overmind #2375

Closed
christianalfoni opened this issue Sep 4, 2019 · 1 comment
Closed

Help us test Codesandbox with Overmind #2375

christianalfoni opened this issue Sep 4, 2019 · 1 comment

Comments

@christianalfoni
Copy link
Contributor

christianalfoni commented Sep 4, 2019

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.

@Saeris Saeris pinned this issue Sep 17, 2019
@krvajal
Copy link
Contributor

krvajal commented Oct 25, 2019

I just tried to follow the steps and it seems that

run the following exposed global function

does not work. useOvermind is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants