Skip to content

Add keys setter#68

Merged
keithamus merged 2 commits intomainfrom
add-keys-setter
Oct 10, 2024
Merged

Add keys setter#68
keithamus merged 2 commits intomainfrom
add-keys-setter

Conversation

@mattcosta7
Copy link
Member

@mattcosta7 mattcosta7 commented Oct 9, 2024

fixes #62

Adds a keys setter so that react 19 can properly call set on the property.

React 19 does an prop in Obj check for whether to set properties or attributes, and since keys is found due to the getter it attempts to set that property on the javascript object instead of the attribute. leading to an error since no setter is defined

this forwards the property setter to the attribute setter directly

@mattcosta7 mattcosta7 self-assigned this Oct 9, 2024
@mattcosta7 mattcosta7 marked this pull request as ready for review October 9, 2024 19:16
@mattcosta7 mattcosta7 requested a review from a team as a code owner October 9, 2024 19:16
@keithamus keithamus merged commit 4d6e63e into main Oct 10, 2024
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.

Text Expander is not compatible with React 19

2 participants