Browse Source
Inject marriage data into the global window object from cookies during the initial server-side render to prevent hydration mismatches and reduce client-side latency. - Add script injection in `RootLayout` to bootstrap `window.HABIB_MARRIAGE` - Update `AuthBridge` to support `__HABIB_BOOTSTRAP__` and improved cookie parsing logic - Enhance `getClientCookie` with robust URI decoding error handlingmaster
7 changed files with 42 additions and 18 deletions
Loading…
Reference in new issue