Skip to content

refactor: introduce store selection bindings - #7

Merged
okyrychenko-dev merged 1 commit into
mainfrom
refactor/store-selection-bindings
Sep 5, 2026
Merged

okyrychenko-dev merged 1 commit into
mainfrom
refactor/store-selection-bindings

Conversation

@okyrychenko-dev

Copy link
Copy Markdown
Owner

Summary

Introduces a canonical Store selection bindings interface that centralizes shallow and plain selection behavior. Global store hooks now use this shared seam, reducing duplicated overloads and concentrating selection policy and tests in one module.

Changes

  • Added createStoreSelectionBindings for creating shallow-first and plain selection hooks from a store resolver.
  • Moved selector overloads, equality behavior, cache reset, and subscription switching behind the bindings interface.
  • Migrated createShallowStore to the new bindings interface.
  • Consolidated selection behavior tests at the canonical seam.
  • Added compile-time and runtime coverage for middleware-enhanced store capabilities.

@codecov

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@okyrychenko-dev
okyrychenko-dev merged commit d91e619 into main Sep 5, 2026
3 checks passed
@okyrychenko-dev
okyrychenko-dev deleted the refactor/store-selection-bindings branch September 18, 2026 20: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.

1 participant