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

feat: `createContainer` #58

Merged
merged 7 commits into from Dec 14, 2018

Conversation

Projects
None yet
2 participants
@diegohaz
Copy link
Owner

diegohaz commented Dec 12, 2018

This introduces a new simpler API to Constate. And eliminates some caveats with the current API.

BREAKING CHANGE: Removed useContextState and other hooks. They've been replaced by createContainer.

diegohaz added some commits Dec 11, 2018

WIP
@codecov-io

This comment has been minimized.

Copy link

codecov-io commented Dec 12, 2018

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #58    +/-   ##
======================================
  Coverage     100%   100%            
======================================
  Files          10      1     -9     
  Lines         110     10   -100     
  Branches       31      3    -28     
======================================
- Hits          110     10   -100
Impacted Files Coverage Δ
src/index.tsx 100% <100%> (ø)

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 ce07c5a...0686077. Read the comment docs.

diegohaz added some commits Dec 12, 2018

@diegohaz diegohaz merged commit bb90895 into master Dec 14, 2018

4 checks passed

codecov/patch 100% of diff hit (target 100%)
Details
codecov/project 100% (+0%) compared to fc304ce
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@diegohaz diegohaz deleted the create-container branch Dec 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment