Skip to content

feat: export deepEqual utility for store state comparisons#1615

Merged
Karanjot786 merged 1 commit into
Karanjot786:mainfrom
pradeep0153:fix/1610-store-deep-equal
Jun 23, 2026
Merged

feat: export deepEqual utility for store state comparisons#1615
Karanjot786 merged 1 commit into
Karanjot786:mainfrom
pradeep0153:fix/1610-store-deep-equal

Conversation

@pradeep0153

Copy link
Copy Markdown
Contributor

Adds and exports a deepEqual function alongside the existing shallow equality helper. This provides developers with an official way to subscribe to complex nested state without missing re-renders caused by array reference identity checks. Resolves #1610.

@pradeep0153 pradeep0153 requested a review from Karanjot786 as a code owner June 19, 2026 04:40
@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@pradeep0153, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 27 minutes and 1 second. Learn how PR review limits work.

To continue reviewing without waiting, enable usage-based billing in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 402ba28a-3514-4bce-9e32-ff8f52e177bf

📥 Commits

Reviewing files that changed from the base of the PR and between 550e9c6 and 2f064f4.

📒 Files selected for processing (1)
  • packages/store/src/shallow.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added type:feature +10 pts. New feature. needs-star PR author has not starred the repo. labels Jun 19, 2026
@github-actions

Copy link
Copy Markdown

Hi @pradeep0153 👋

Star this repo before your PR merges.

Why? GSSoC 2026 contributors who star get priority review and points credit. After you star, push any commit (or re-run this check). The needs-star label lifts automatically.

Thanks for your contribution to TermUI.

@Karanjot786 Karanjot786 merged commit 630b887 into Karanjot786:main Jun 23, 2026
4 of 5 checks passed
@Karanjot786 Karanjot786 added gssoc:approved Approved PR. Earns +50 base points. level:beginner +20 pts. Entry-level task. area:store @termuijs/store labels Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:store @termuijs/store gssoc:approved Approved PR. Earns +50 base points. level:beginner +20 pts. Entry-level task. needs-star PR author has not starred the repo. type:feature +10 pts. New feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Store shallow equality check fails to trigger updates for nested array mutations

2 participants