Skip to content

Conversation

onpaws
Copy link
Contributor

@onpaws onpaws commented Mar 30, 2018

Today I tested out the new Context API using using CRA.
I copy/pasted the example in, and was surprised to encounter a runtime exception.
So this tiny PR is intended to make things easier for future Context API learners.

image

ReferenceError: Must call super constructor in derived class before accessing 'this' or returning from derived constructor

Today I tested out the new Context API using using [CRA](https://github.com/facebook/create-react-app). 
I encountered a runtime exception, so this tiny PR is intended to make it easier for future Context API learners.

`ReferenceError: Must call super constructor in derived class before accessing 'this' or returning from derived constructor`

create-react-app@next commit da518d2238298dd5db74e9c63c12251099f87bb0
@reactjs-bot
Copy link

reactjs-bot commented Mar 30, 2018

Deploy preview for reactjs ready!

Built with commit b2c2d69

https://deploy-preview-746--reactjs.netlify.com

@onpaws
Copy link
Contributor Author

onpaws commented Mar 30, 2018

Looks like it worked. Courtesy of Netlify:
image

@gaearon gaearon merged commit e61d594 into reactjs:master Mar 30, 2018
@gaearon
Copy link
Member

gaearon commented Mar 30, 2018

Thanks!

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.

4 participants