mfellner / valtio-factory

Create and compose valtio state using the factory pattern.
https://codesandbox.io/s/valtio-factory-example-j7v2s
MIT License
41 stars 2 forks source link

fix: allow chaining of onCreate, closes #1 #2

Closed mfellner closed 2 years ago

mfellner commented 2 years ago

Allow chaining of onCreate, closes #1.

codecov-commenter commented 2 years ago

Codecov Report

Merging #2 (f9b1acc) into main (272c14d) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #2   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines           64        64           
  Branches         7         6    -1     
=========================================
  Hits            64        64           
Impacted Files Coverage Δ
lib/store-factory.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 272c14d...f9b1acc. Read the comment docs.