It would be nice to be able to link directly to a file in my sandbox. This way I can control which file someone will see when they load the sandbox based on the link I give them.
Hmm, maybe we support this already if I'm not wrong. Here's an example:
https://codesandbox.io/s/new?module=/Hello.js
and with Module View turned on:
https://codesandbox.io/s/new?module=/Hello.js&moduleview=1
In that case, it would be nice to have the URL update when I click on a file to make this feature is more discoverable :)
Ah, yes. I've added this at the beginning of CodeSandbox, but it puts the simulated browser in an inconsistent state. There is maybe an option to fix it, we're discussing it here: https://github.com/CompuIves/codesandbox-client/issues/110
Thanks to @lbogdan this becomes possible now!
Closing as this appears to be implemented.
Most helpful comment
In that case, it would be nice to have the URL update when I click on a file to make this feature is more discoverable :)