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

Move text changes handling from react component to the wrapper #849

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

kaisalmen
Copy link
Collaborator

This was a bad design choice that is corrected. The react component should be thinnest possible layer around the wrapper.

@kaisalmen kaisalmen requested a review from CGNonofr as a code owner February 8, 2025 18:03
@kaisalmen kaisalmen marked this pull request as draft February 8, 2025 18:52
@kaisalmen kaisalmen marked this pull request as ready for review February 9, 2025 10:51
@kaisalmen kaisalmen force-pushed the fix-text-changes-callback branch from 6fad370 to 0ec4c88 Compare February 9, 2025 10:53
@kaisalmen kaisalmen force-pushed the fix-text-changes-callback branch from 0ec4c88 to 5f391fa Compare February 9, 2025 10:58
@kaisalmen
Copy link
Collaborator Author

@CGNonofr this is now ready for review. I added a unit test.

Copy link
Collaborator

@CGNonofr CGNonofr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kaisalmen
Copy link
Collaborator Author

@CGNonofr thank you. So I guess you agree/confirm that lesser logic in react is a plus.

@CGNonofr
Copy link
Collaborator

@CGNonofr thank you. So I guess you agree/confirm that lesser logic in react is a plus.

Sure! I don't want code to be duplicated between framework implementations

@kaisalmen kaisalmen merged commit ec7cd1f into main Feb 10, 2025
1 check passed
@kaisalmen kaisalmen deleted the fix-text-changes-callback branch February 10, 2025 09:50
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

Successfully merging this pull request may close these issues.

2 participants