Skip to content

POC: Proxy object link#329

Open
Tishasoumya-02 wants to merge 23 commits intomainfrom
proxy-object-link
Open

POC: Proxy object link#329
Tishasoumya-02 wants to merge 23 commits intomainfrom
proxy-object-link

Conversation

@Tishasoumya-02
Copy link
Copy Markdown
Contributor

@Tishasoumya-02 Tishasoumya-02 commented Feb 13, 2026

return;
}
if (returnToUrlRef.current) {
setTimeout(() => {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use requestAnimationFrame here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we go from http://localhost:3000/features/block/grid-block/teaser?return_to=%2Ffeatures%2Fblock%2Fgrid-block (select grid-block-teaser)-> Then the select any teaser to go to http://localhost:3000/features/content-types/page?return_to=%2Ffeatures%2Fblock%2Fgrid-block%2Fteaser , with requestAnimationFrame the second toast is likely ignored by react-toastify because of the same toast ID is created before the previous one is dismissed. IMO Delay is needed to allow previous toast dismissal to complete before showing a new toast with the same ID

@davisagli davisagli changed the title Proxy object link POC: Proxy object link Mar 4, 2026
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.

2 participants