Skip to content

Conversation

@MichaelDeBoey
Copy link
Contributor

What kind of change does this PR introduce?
I've extracted @Saeris' changes to ConnectionNotice out of #1925.

Small example refactor showing how to use Cerebral with React Hooks

What is the current behavior?

  • Use mobx-react
  • Use inject HOC

What is the new behavior?

  • Use mobx-react-lite
  • Use new useStore hook

Checklist:

  • Documentation N/A
  • Tests
  • Ready to be merged
  • Added myself to contributors table N/A

Small example refactor showing how to use Cerebral with React Hooks
@CompuIves CompuIves merged commit 91ecea9 into codesandbox:master May 27, 2019
@MichaelDeBoey MichaelDeBoey deleted the refactor-connectionnotice branch May 27, 2019 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants