Skip to content

refactor: dispatch back instead of reset if we determine it's a simple pop#13077

Open
satya164 wants to merge 1 commit intomainfrom
@satya164/linking-pop
Open

refactor: dispatch back instead of reset if we determine it's a simple pop#13077
satya164 wants to merge 1 commit intomainfrom
@satya164/linking-pop

Conversation

@satya164
Copy link
Copy Markdown
Member

this changes browser history handling to dispatch aGO_BACK action instead of RESET when we determine that it's a simple pop in history. this makes it possible to preserve any other state updates made since the last state was tracked.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 16, 2026

Deploy Preview for react-navigation-example ready!

Name Link
🔨 Latest commit edc72ed
🔍 Latest deploy log https://app.netlify.com/projects/react-navigation-example/deploys/69e15d5f32ccae00083c7055
😎 Deploy Preview https://deploy-preview-13077--react-navigation-example.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 16, 2026

Codecov Report

❌ Patch coverage is 97.29730% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 72.32%. Comparing base (bce29d6) to head (c422caf).

Files with missing lines Patch % Lines
packages/native/src/useLinking.tsx 97.29% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13077      +/-   ##
==========================================
+ Coverage   72.24%   72.32%   +0.07%     
==========================================
  Files         238      238              
  Lines        8391     8425      +34     
  Branches     3480     3498      +18     
==========================================
+ Hits         6062     6093      +31     
- Misses       2274     2278       +4     
+ Partials       55       54       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@satya164 satya164 force-pushed the @satya164/linking-pop branch 2 times, most recently from 07aaecf to d62ae0d Compare April 16, 2026 21:49
@satya164 satya164 force-pushed the @satya164/linking-pop branch from d62ae0d to edc72ed Compare April 16, 2026 22:06
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