sandpack
sandpack copied to clipboard
feat: add console hook to static template
An alternative solution to https://github.com/codesandbox/sandpack/issues/908, based on the conversations found in the PR draft https://github.com/codesandbox/sandpack/pull/909.
I'm not sure if adding new message types like this is ok to do, but it seems much simpler than what I was trying to do in the original implementation. That said, I'm fine with waiting on any changes until we confirm this is functionality that people actually want.
It's ok if we want to close this PR as won't do, but I just wanted to put together an example of what I was talking about in the other PR draft to help further any discussions.
@SSHari is attempting to deploy a commit to the CodeSandbox Team on Vercel.
A member of the Team first needs to authorize it.
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 9f181b4abc4fbc51ebebed6ae0c9208bec0897c1:
| Sandbox | Source |
|---|---|
| Sandpack | Configuration |
| sandpack-run-stale-value | Configuration |