Is your app mounted in SSR?

Christine Mathews

Christine Mathews / October 22, 2022

1 min read

Any server-side rendering is confusing and challenging to know whether you're rendering on the server or the client.

This hook helps us to know whether the app is mounted or not for rendering and avoiding black spots or blank pages.