Skip to content

Commit

Permalink
Merge pull request #8 from effector/ignore-named-stores
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrHoroshih committed Apr 16, 2023
2 parents e82c9f1 + 41e3968 commit 8ece44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/get-scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function HACK_updateScopeRefs(scope: Scope, values: Values) {
for (const id in scope.reg) {
// @ts-expect-error
const ref = scope.reg[id];
if (!ref.meta || ref.meta?.derived) {
if (!ref.meta || (!ref.meta?.named && ref.meta?.derived)) {
/**
* Force recalculation of derived values
*/
Expand Down

0 comments on commit 8ece44a

Please sign in to comment.