Skip to content

Convert three more components to use Hooks and useSelector.#4462

Merged
gnprice merged 7 commits intozulip:masterfrom
chrisbobbe:pr-useSelector-prevent-crash
Mar 4, 2021
Merged

Convert three more components to use Hooks and useSelector.#4462
gnprice merged 7 commits intozulip:masterfrom
chrisbobbe:pr-useSelector-prevent-crash

Conversation

@chrisbobbe
Copy link
Copy Markdown
Contributor

@chrisbobbe chrisbobbe commented Feb 2, 2021

See discussion here. The use of connect in these components instead of useSelector has been contributing to a crash.

(Never mind; I've got a fix for this open in #4454, where we add a connect in MainTabsScreen. Still, might as well not lose the work of Hooksifying these components, so I'll leave this PR open.)

@chrisbobbe chrisbobbe requested a review from gnprice February 2, 2021 02:50
@chrisbobbe chrisbobbe changed the title Convert three more components to use Hooks and useSelector; this time fixing a crash. Convert three more components to use Hooks and useSelector. Feb 2, 2021
@gnprice gnprice force-pushed the pr-useSelector-prevent-crash branch from 6d55471 to 641cb16 Compare March 4, 2021 07:27
@gnprice
Copy link
Copy Markdown
Member

gnprice commented Mar 4, 2021

Thanks -- merged!

@gnprice gnprice merged commit 641cb16 into zulip:master Mar 4, 2021
@chrisbobbe chrisbobbe deleted the pr-useSelector-prevent-crash branch November 4, 2021 22:02
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.

2 participants