This wrapper provides a fix to hydration errors caused by client components that rely on redux state being pre-rendered on the server
import ClientSideOnly from '@homeflow/v4-lib/components/wrappers/client-side-only.component';...<ClientSideOnly fallback={<MyPlaceholderComponent />}> <MyClientSideComponent /></ClientSideOnly> Copy
import ClientSideOnly from '@homeflow/v4-lib/components/wrappers/client-side-only.component';...<ClientSideOnly fallback={<MyPlaceholderComponent />}> <MyClientSideComponent /></ClientSideOnly>
This wrapper provides a fix to hydration errors caused by client components that rely on redux state being pre-rendered on the server