How can I prevent rerendering while changing route

I am currently using the app router in next.js but its rerenders everytime when I change the route, how can I prevent this.

here my authClient and my Organization Switch as file added as well.

import { organizationClient } from "better-auth/client/plugins"
import { createAuthClient } from "better-auth/react"

export const authClient = createAuthClient({
  baseURL: process.env.BETTER_AUTH_URL,
  plugins: [ 
    organizationClient(),
  ],
})
Was this page helpful?