Skip to content
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

refactor: change how to represent modal routes #11628

Merged
merged 2 commits into from
May 16, 2024

Conversation

Jack-Works
Copy link
Member

mf-0000

before: /modal/modal-name with hidden state { mainLocation: '/backing-router' }
now: /backing-router?modal=encode('/modal-name')

I expect this does not break anything. This change is for the React Router data router

@Jack-Works Jack-Works added this to the 2.26.0 milestone May 15, 2024
@Jack-Works Jack-Works marked this pull request as ready for review May 16, 2024 13:14
@Jack-Works Jack-Works merged commit 01d5084 into develop May 16, 2024
13 checks passed
@Jack-Works Jack-Works deleted the popup-routes-mainlocation branch May 16, 2024 13:17
guanbinrui pushed a commit that referenced this pull request May 24, 2024
* refactor: change how to represent modal routes (#11628)

* refactor: update routes of popup (#11630)

* refactor: defer loading of routed modals (#11632)

* refactor: change pnpm config (#11633)

* refactor: support x.com in code (#11634)

* chore: update to pnpm 9 (#11635)

* chore: update to react 19 (#11636)

* fix: cf build (#11637)

* fix: splint crashes

* fix: react-qrcode-logo crashes

* feat: add react compiler (#11638)

* fix: react-devtools

* fix: source map

* chore: update to eslint 9 (#11641)

* refactor: enable rule react/naming-convention/component-name

* refactor: enable rule typescript-eslint/no-non-null-asserted-optional-chain

* refactor: enable rule react/no-children-*

* refactor: enable rule no-async-promise-executor no-promise-executor-return and @typescript-eslint/return-await

* chore: eslint

---------

Co-authored-by: Jack Works <5390719+Jack-Works@users.noreply.github.com>
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.

None yet

1 participant