Skip to content

[docs] makeStyles demo is broken #13680

@joshwooding

Description

@joshwooding
  • This is not a v0.x issue.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

makeStyles() codesandbox demo should work

Current Behavior 😯

It currently errors with: _react.default.useContext is not a function

Steps to Reproduce 🕹

Link: https://codesandbox.io/s/0mpw102k00

Your Environment 🌎

Tech Version
Material-UI v3.5.1
React
Browser
TypeScript
etc.

Demo needs to be updated to use react 16.7.0 alpha

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to the documentation.
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions