Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: get hooks #7

Merged
merged 4 commits into from
Aug 7, 2023
Merged

refactor: get hooks #7

merged 4 commits into from
Aug 7, 2023

Conversation

zombieJ
Copy link
Member

@zombieJ zombieJ commented Aug 7, 2023

抽取一个 hooks 出来,以供 Watermark 监听多子元素的场景:

<Watermark>
  <Dialog />
  <Dialog />
</Watermark>

@github-actions
Copy link

github-actions bot commented Aug 7, 2023

😭 Deploy PR Preview f60a3db failed. Build logs

🤖 By surge-preview

@codecov
Copy link

codecov bot commented Aug 7, 2023

Codecov Report

Merging #7 (68131bf) into master (1082b46) will increase coverage by 4.18%.
The diff coverage is 77.14%.

❗ Current head 68131bf differs from pull request most recent head f60a3db. Consider uploading reports for the commit f60a3db to get more accurate results

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
+ Coverage   74.19%   78.37%   +4.18%     
==========================================
  Files           2        3       +1     
  Lines          31       37       +6     
  Branches       12       13       +1     
==========================================
+ Hits           23       29       +6     
  Misses          7        7              
  Partials        1        1              
Files Changed Coverage Δ
src/MutateObserver.tsx 76.19% <76.19%> (ø)
src/useMutateObserver.tsx 78.57% <78.57%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@zombieJ zombieJ merged commit 322b9f9 into master Aug 7, 2023
6 checks passed
@delete-merged-branch delete-merged-branch bot deleted the refactor branch August 7, 2023 11:39
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