Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controlled MathField #3

Closed
ShaMan123 opened this issue Dec 24, 2020 · 0 comments
Closed

Controlled MathField #3

ShaMan123 opened this issue Dec 24, 2020 · 0 comments

Comments

@ShaMan123
Copy link
Contributor

ShaMan123 commented Dec 24, 2020

Related #2

React has 2 approaches for interacting with elements:

  1. controlled - value handled in state container and passed to element.
  2. uncontrolled - value handled in element internally

I've implemented a hack using to proxy change events (which are the basics of the controlled approach) to react.
It seems to work well.
I suspect there's a bug related in mathlive core. Will open a dedicated one.

ShaMan123 added a commit to ShaMan123/react-mathlive that referenced this issue Dec 25, 2020
Was using wrong names 😧 My bad.
Deprecated all hacks.
Seems stable
fixs arnog#2 arnog#3
@ShaMan123 ShaMan123 mentioned this issue Dec 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant