Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Offline dev environment #20688
Use to prime a request cache, save it, then operate within Calypso out of that cache offline
See README for explanation and usage instructions.
Load Calypso with the
Open the dev tools console and run
Turn off your network connection then reload Calypso this time with
Reload Calypso without any of the flags and it should work as normal.
2 times, most recently
Dec 10, 2017
Long term vision-wise, I could see us doing some pretty cool things with this. Two ideas right off the bat would be:
This looks really nice, and like something we could get a lot of use out of.
Another longer-term use case could be something like a "local e2e test suite" that doesn't touch production data.
not sure @nylen - we could add a custom
most of our wpcom stuff works this way, but I'm not a super fan of that either.
in this PR I think the most important thing to verify is that this code doesn't load when we don't want it to, which is anytime not in local dev as well as any time we aren't asking for it in the query string