You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://www.meetfabric.com/ is built on Gatsby 0.x. I'm helping them currently upgrade to Gatsby v1. As part of this work, they're integrating their app (currently a standalone React site) and their marketing website so they'll all be powered by Gatsby.
This is a pattern I'd really love to see more of since Gatsby v1's automatic code splitting makes this cheap to do. Land on a marketing page, login, and immediately jump into the app with no jarring reload. Use the same tools and components and styles across all your web properties!
But as they'd built their app using React Router v4, we decided it'd be best if Gatsby v1 got updated to RRv4 as well (currently we're still on RRv2).
I'll be working on this the next few days and it'll get rolled out as part of the next alpha.
Here's a rough list for the TODOs:
since RR v4 doesn't need statically defined routes, out routes info as a JSON object and dynamically construct routes in client.
restore 404 support
refactor code splits
all gatsby code in commons.js
all layout and page components have their own code splits
extract common code from layout components in addition to page.
server rendering of routes
Inline routes information in each HTML page. Defer loading full routes until after JS initialized.
And it's merged! I didn't finish up all the work I'd liked to. Create an issue if you want to work on having multiple layouts, layouts with parents, layouts with graphql queries, or optimizing how we lazy-load page dependencies!
These all need to be done but aren't on the critical path to releasing Gatsby v1 and can be added afterwards without breaking changes (though of course if you want it now, please add a PR and we'll get it in with 1.0's release).
https://www.meetfabric.com/ is built on Gatsby 0.x. I'm helping them currently upgrade to Gatsby v1. As part of this work, they're integrating their app (currently a standalone React site) and their marketing website so they'll all be powered by Gatsby.
This is a pattern I'd really love to see more of since Gatsby v1's automatic code splitting makes this cheap to do. Land on a marketing page, login, and immediately jump into the app with no jarring reload. Use the same tools and components and styles across all your web properties!
But as they'd built their app using React Router v4, we decided it'd be best if Gatsby v1 got updated to RRv4 as well (currently we're still on RRv2).
I'll be working on this the next few days and it'll get rolled out as part of the next alpha.
Here's a rough list for the TODOs:
window.caches
for caching linked pages https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/cachesThe text was updated successfully, but these errors were encountered: