sandpack icon indicating copy to clipboard operation
sandpack copied to clipboard

feat: add console hook to static template

Open SSHari opened this issue 2 years ago • 2 comments

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 avatar May 20 '23 17:05 SSHari

@SSHari is attempting to deploy a commit to the CodeSandbox Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar May 20 '23 17:05 vercel[bot]

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

codesandbox-ci[bot] avatar May 20 '23 17:05 codesandbox-ci[bot]