Skip to content

Instantly share code, notes, and snippets.

@mybearworld
Created April 13, 2024 08:57
Show Gist options
  • Save mybearworld/c392f9997798f5dd8b34e5d93374613e to your computer and use it in GitHub Desktop.
Save mybearworld/c392f9997798f5dd8b34e5d93374613e to your computer and use it in GitHub Desktop.
Get State on Scratch projects
// I don't know where this is initially from - this is just way easier to find than searching for a forum post that
// contains this :P
document.querySelector("#app")._reactRootContainer._internalRoot.current.child.stateNode.store.getState()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment