mirror of
https://github.com/cs01/termpair.git
synced 2026-04-26 13:05:52 +03:00
[PR #63] [MERGED] fix this.setState is not a function regression #69
Labels
No labels
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termpair#69
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cs01/termpair/pull/63
Author: @cs01
Created: 7/11/2021
Status: ✅ Merged
Merged: 7/11/2021
Merged by: @cs01
Base:
master← Head:cs01/fix-broken-app📝 Commits (1)
9c16742fix some bugs📊 Changes
1 file changed (+21 additions, -20 deletions)
View changed files
📝
termpair/frontend_src/src/App.tsx(+21 -20)📄 Description
Summary of changes
There was a regression in the typescript migration, and
thiswas overridden. The build still worked, and it resulted in a runtime bug ofthis.setState is not a function. The automigration defined a new class member variable calledsetStatewhich overrode React's. This took longer than I care to admit to figure out :)Test plan
Confirmed browser sharing session works
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.