Skip to content
This repository has been archived by the owner on Nov 4, 2021. It is now read-only.

Allow state value to be changed externally after the initial value #67

Open
abobwhite opened this issue Mar 28, 2018 · 0 comments
Open

Comments

@abobwhite
Copy link
Contributor

I have been burned by this several times now where I need to bind the value (state) passed into the slate-editor to a changed prop than what it was initialized with but slate-editor never looks at that value except upon initial creation. In my situation, I'm changing locales in my UI to bind to the different translated values. It appears that slate itself doesn't restrict this but slate-editor never exposes a way to externally change the state value.

Let me know if you need any more details.

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

No branches or pull requests

1 participant