Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Add onChange callback to Playground #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

janmyler
Copy link

Add onChange prop to <Playground /> to allow propagation of code changes outside of the component – this allows use cases such as storing the changes to localStorage as you type and restoring them in the future.

@kylecesmat
Copy link
Contributor

@janmyler could you add documentation about this new prop? Seems like a good feature to me.

@nhunzaker
Copy link

@janmyler Thanks for implementing this! I'd like to use this feature to generate Github issues at the click of a button:

screen shot 2017-07-15 at 11 10 04 am

Any updates? Otherwise, I'm happy to take this over.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants