Skip to content

error on contextual stores, for now #2103

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

Merged
merged 1 commit into from
Feb 19, 2019
Merged

error on contextual stores, for now #2103

merged 1 commit into from
Feb 19, 2019

Conversation

Rich-Harris
Copy link
Member

Ref #2016. Contextual stores present some difficulties, and I think it'd be better to figure those out in a 3.1 release rather than hold up 3.0

@codecov-io
Copy link

codecov-io commented Feb 19, 2019

Codecov Report

Merging #2103 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2103   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files           1       1           
  Lines          49      49           
======================================
  Hits           49      49

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 47ab23c...6f394e5. Read the comment docs.

];

export default {
error: `Stores must be declared at the top level of the component (this may change in a future version of Svelte)`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume the other values in this object don't do anything when error is present? So we can just remove error once this is implemented?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exactly, yep

@Rich-Harris Rich-Harris merged commit 0ad8bf9 into master Feb 19, 2019
@Rich-Harris Rich-Harris deleted the gh-2016 branch February 19, 2019 02:15
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.

3 participants