mirror of
https://github.com/cs01/termpair.git
synced 2026-04-26 21:15:55 +03:00
[PR #65] [MERGED] convert class component to functional component + other improvements #72
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#72
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/65
Author: @cs01
Created: 7/19/2021
Status: ✅ Merged
Merged: 7/19/2021
Merged by: @cs01
Base:
master← Head:cs01/functional-component📝 Commits (4)
e2a212aadd more types8910ffeconvert react class component to functional component23d58f5update changelog4beace9fix mypy📊 Changes
7 files changed (+344 additions, -201 deletions)
View changed files
📝
CHANGELOG.md(+6 -1)📝
termpair/frontend_src/package.json(+6 -1)📝
termpair/frontend_src/src/App.tsx(+288 -182)📝
termpair/frontend_src/src/index.css(+4 -0)📝
termpair/frontend_src/yarn.lock(+22 -0)📝
termpair/main.py(+1 -1)📝
termpair/server.py(+17 -16)📄 Description
CHANGELOG.mdSummary of changes
componentDIdMount. This PR switches to using a functional component with hooks. This design change made the codebase more clear, and I ended up improving the way websocket events and status updates are changed.Test plan
Tested by running
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.