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

Deprecating $reactTo #1

Merged
merged 2 commits into from
May 24, 2024
Merged

Deprecating $reactTo #1

merged 2 commits into from
May 24, 2024

Conversation

cesarParra
Copy link
Owner

Deprecating the $reactTo function for several reasons:

  • It doesn't seem to work in a lot of situations, more than what I originally expected. I thought it was just for complex JS objects, but there are more unknowns situations where LWC simply doesn't update the values
  • Having this not working sometimes but othertimes working can be very frustrating, and it doesn't make it clear when it can be used vs. computed, so by just keeping computed the interfaces are a bit more verbose to use, but it gives us consistency

@cesarParra cesarParra merged commit 49b299b into main May 24, 2024
1 check passed
@cesarParra cesarParra deleted the deprecate-reactTo branch May 24, 2024 13:55
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.

1 participant