wtnbass / fuco

Functional Component like React, but for Web Components.
MIT License
74 stars 2 forks source link

Remove Context `defineProvider`. #38

Closed wtnbass closed 4 years ago

wtnbass commented 4 years ago

Change Context as below:

codecov-io commented 4 years ago

Codecov Report

Merging #38 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #38   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          21     20    -1     
  Lines         600    580   -20     
  Branches      157    155    -2     
=====================================
- Hits          600    580   -20
Impacted Files Coverage Δ
src/fuco/hook.ts 100% <100%> (ø) :arrow_up:
src/fuco/define-element.ts 100% <100%> (ø) :arrow_up:
src/server/rehydrate.ts 100% <100%> (ø) :arrow_up:
src/html/commit.ts 100% <100%> (ø) :arrow_up:
src/fuco/context.ts 100% <100%> (ø) :arrow_up:
src/html/template.ts 100% <100%> (ø) :arrow_up:
src/html/mutations.ts 100% <100%> (ø) :arrow_up:
src/fuco/hooks.ts 100% <100%> (ø) :arrow_up:
src/html/index.ts 100% <100%> (ø) :arrow_up:
src/fuco/index.ts 100% <100%> (ø) :arrow_up:
... and 6 more

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 48dee79...7497012. Read the comment docs.