Skip to content

Conversation

@rjrjr
Copy link
Collaborator

@rjrjr rjrjr commented May 30, 2025

  • This change forced us to provide an expectRemember call for every remember call
  • Under STABLE_EVENT_HANDLERS that means every eventHandler call, clearly impractical
  • So we could change it to allow providing an option of returning alternative value from the remember call, but default to run the real calculation; but we have found no use cases for that
  • So were just going back to the original implementation

This reverts commit fa75ef8.

@rjrjr rjrjr marked this pull request as ready for review May 30, 2025 20:45
@rjrjr rjrjr requested review from a team and zach-klippenstein as code owners May 30, 2025 20:45
Copy link
Contributor

@steve-the-edwards steve-the-edwards left a comment

Choose a reason for hiding this comment

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

thanks for getting this right again by talking me through it!

 - This change forced us to provide an `expectRemember` call for every `remember` call
 - Under `STABLE_EVENT_HANDLERS` that means every `eventHandler` call, clearly impractical
 - So we could change it to allow providing an option of returning alternative value from the remember call, but default to run the real calculation; but we have found no use cases for that
 - So were just going back to the original implementation

This reverts commit fa75ef8.
@steve-the-edwards steve-the-edwards merged commit d418203 into main Jun 2, 2025
44 checks passed
@steve-the-edwards steve-the-edwards deleted the ray/forget-it branch June 2, 2025 15:15
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.

3 participants