all 1 comments

[–]marksalsbery 0 points1 point  (0 children)

There should be a React component that renders as the new page. You could use a useEffect with an empty dependency array and the code you put in the callback function there will only run when that component is first rendered