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

Timer action controls Memo dependency #1091

Merged
merged 1 commit into from
Sep 17, 2021

Conversation

ccoors
Copy link
Contributor

@ccoors ccoors commented Sep 17, 2021

Timer action controls Memo dependency

Type A:

  • Bug fix (non-breaking change which fixes an issue)
  • UI Feature
  • Refactor/Code Cleanup
  • Docs
  • Capability implementation for existing core capability
  • New robot implementation

Type B:

  • New capability
  • New core feature

Description (Type A)

This fixes a subtle bug in timers in combination with segment cleanup - Adding a segment didn't always work any could result in it being added twice after pushing the button a second time. That also broke Reacts key-Requirements. This fix makes React.useMemo always compare the array and not the entire action params object.

@Hypfer Hypfer merged commit 7ebbafc into Hypfer:master Sep 17, 2021
@ccoors ccoors deleted the bugfix/ui-timer-segment-memo branch September 18, 2021 20:55
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants