question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[docs] makeStyles demo is broken

See original GitHub issue
  • 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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
joshwoodingcommented, Nov 23, 2018

@oliviertassinari I can have a go 😃

1reaction
oliviertassinaricommented, Nov 23, 2018

@joshwooding What do you think? Do you want to handle it? 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

[docs] makeStyles demo is broken · Issue #13680 · mui/material-ui ...
This is not a v0.x issue. I have searched the issues of this repository and believe that this is not a duplicate. Expected...
Read more >
Dark Theme Navbar - StackBlitz
https://github.com/mui-org/material-ui-x/blob/master/docs/src/pages/components/data-grid/overview/DataGridDemo.js.
Read more >
tss-react - npm
'tss-react' is intended to be the replacement for @material-ui v4 makeStyles and 'react-jss' . If you like TSS consider giving the project a ......
Read more >
Introducing MUI Core v5.0
Introducing MUI Core v5.0 ; Improved customizability. Migration from JSS to emotion; The sx prop; Dynamic props; Global class names; Unstyled ...
Read more >
@mui/system | Yarn - Package Manager
... on makeStyles from @material-ui/core/styles (#26246) @mnajdova; ​[docs] Polish the pickers demo (#26094) @oliviertassinari; ​[docs] Fix broken overrides ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found