![]() Explicit query names no longer required.gatsby-image's outerWrapperClassName was removed.Update CSS Modules class names that use dashes.Browser API wrapRootComponent was replaced with wrapRootElement.Browser API replaceRouterComponent was removed.Migrating React Router client routes to APIs onPreRouteUpdate and onRouteUpdate no longer called with the route update action.The following props are no longer available on.A history prop is no longer passed to page components.Migrate from React Router to Only string to allowed.Include gatsby-plugin-postcss in your gatsby-config.js file Convert to either pure CommonJS or pure ES6.Pass history, location, and match props to layout Import and wrap pages with the layout component Move layouts/index.js to src/components/layout.js (optional, but recommended) Convert the layout's children from a render prop to a normal prop (required)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |