I am making an npm package that I hope that both nextjs and react developers can use. In my package, i use useRouter to do a router.push to change routes. Is there a way people standardize this to support this functionality regardless of if someone uses React (like a Vite app) or NextJs?