Relative Content

Tag Archive for reactjsnext.jsnext.js13

How to choose the appropriate screen to return to when there are multiple candidates in Next.js

To elaborate further, the question is as follows:
In Next.js, suppose there are multiple candidate screens as the source screen for a certain screen X. For the sake of explanation, let’s call these candidates screen A and screen B. Even after navigating through several screen transitions from screen X, how can I retrieve information about whether the initial source screen for screen X was screen A or screen B, and enable returning to the appropriate screen A or screen B from screen X? What kind of implementation should be considered?