re-rxjs / react-rxjs

React bindings for RxJS
https://react-rxjs.org
MIT License
549 stars 19 forks source link

perf(core): use useLayoutEffect #108

Closed josepot closed 4 years ago

josepot commented 4 years ago

This is a change that I wanted to add to v0.3.0, but I forgot... Good thing that we haven't released it yet! :sweat_smile:

codecov[bot] commented 4 years ago

Codecov Report

Merging #108 into main will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #108   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           27        28    +1     
  Lines          372       376    +4     
  Branches        35        35           
=========================================
+ Hits           372       376    +4     
Impacted Files Coverage Δ
packages/core/src/Subscribe.tsx 100.00% <100.00%> (ø)
packages/core/src/internal/useObservable.ts 100.00% <100.00%> (ø)
packages/core/src/useLayoutEffect.ts 100.00% <100.00%> (ø)
packages/core/src/useSubscribe.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6d7116d...d354abb. Read the comment docs.