Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
useSubscription: fix rules of React violations (#11863)
* Revert "Merge pull request #9707 from kazekyo/fix_usesubscription_in_strict_mode" This reverts commit 4571e1a, reversing changes made to 5be85a0. * essentially rewrite useSubscription * use `setResult` update method * adjust tests * change observable during render; lazy initialization of subscription * no more need for stable options, performance optimization * changeset * adjust documentation * review feedback * Apply suggestions from code review Co-authored-by: Jerel Miller <jerelmiller@gmail.com> * clarify comment * update size-limits * fix test --------- Co-authored-by: Jerel Miller <jerelmiller@gmail.com>
- Loading branch information