material-ui-pickers icon indicating copy to clipboard operation
material-ui-pickers copied to clipboard

Uncaught TypeError: _react2.default.createContext is not a function

Open kidustiliksew opened this issue 8 years ago • 3 comments

Environment

Tech Version
material-ui-pickers 1.0.0-rc.9
material-ui 1.0.0-beta.47
React 16.2.0
Browser Chrome
Platform

Steps to reproduce

  1. Install package
  2. Import MuiPickersUtilsProvider

Actual behavior

Heres the stack trace

Uncaught TypeError: _react2.default.createContext is not a function at eval (MuiPickersUtilsProvider.js?a618:38) at Object../node_modules/material-ui-pickers/utils/MuiPickersUtilsProvider.js (index.bundle.js:1) at s (index.bundle.js:1) at t (index.bundle.js:1) at eval (index.js?1fdf:24) at Object../src/index.js (index.bundle.js:1) at s (index.bundle.js:1) at t (index.bundle.js:1) at Object.0 (index.bundle.js:1) at s (index.bundle.js:1)

kidustiliksew avatar May 25 '18 08:05 kidustiliksew

You need React >= 16.3.3

dmtrKovalenko avatar May 25 '18 08:05 dmtrKovalenko

I'm getting the same, with react 16.4.0 material-ui-pickers: 1.0.0-rc.9 @ material-ui/core: 1.1.0

Thanks!

alondahari avatar May 28 '18 15:05 alondahari

👍

sean-killeen avatar Jun 08 '18 14:06 sean-killeen