-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade and use polyfill #4742
upgrade and use polyfill #4742
Conversation
Nice! Fixes #4692 :-) Will review and merge as soon as I get some dev time... :-| |
I've added a commit bumping Running
Those lifecycle methods don't exist in the Gatsby source, so I guess the components are being extended somewhere? Can we ignore those warnings? Clicking a
error Building static HTML for pages failed
See our docs page on debugging HTML builds for help https://goo.gl/yL9lND
3 | if (!isObject(it)) throw TypeError(it + ' is not an object!');
4 | return it;
> 5 | };
| ^
6 |
7 |
8 |
WebpackError: Cannot read property 'layout' of undefined
- _an-object.js:5 getLayout
node_modules/core-js/library/modules/_an-object.js:5:1
error An unexpected error occurred: "Command failed. |
for |
Aha, thanks @pieh! I pulled that change in via GitHub in |
The lifecycle warning message, i think, is coming from react hot loader which is proxying the components |
That makes sense, thanks. I guess we can ignore that for now?
Me neither... I think it's the same? Things looked good on a test site. I pushed a couple of commits to |
A new version of |
ya! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
can we release a new version for v2? alpha-13 breaks a lot of things:
so I'm still staying with alpha-12, but that version has a bug with pathPrefix when building, I know that's not the right place to post those things, but I'd like to try the latest version to see if they still there |
Probably going to release another alpha once my layout removal PR is done #4887 |
I am slightly unsure if the component-renderer logic is the same…