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 state makes unnecessary updates #2211

Open
SebastianStehle opened this issue Nov 18, 2023 · 0 comments
Open

Controlled state makes unnecessary updates #2211

SebastianStehle opened this issue Nov 18, 2023 · 0 comments
Labels
type: bug 🪲 Something isn't working

Comments

@SebastianStehle
Copy link
Sponsor

SebastianStehle commented Nov 18, 2023

Summary

I know that the controlled version is not recommended and it is also causing issues.

For example it makes unnecessary updates somehow.

Steps to reproduce

Use this storybook example (https://remirror.vercel.app/?path=/story/editors-controlled--editable) and type in some dummy words. On my machine chrome will first hide, then show the spelling error indicator. When you make a breakpoint on the paragraph, you will see, that it also triggers twice for a new character, which might be the root source of the problems.

Expected results

Actual results

Possible Solution

Screenshot(s)

@SebastianStehle SebastianStehle added the type: bug 🪲 Something isn't working label Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🪲 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant