If the returned value of the fetched endpoint is blank that gets converted to undefined, which confuses the request sharing between the client and server causing the session to be requested on both sides. Transform value to null if it's blank so that the session fetch is de-duplicated. |
||
---|---|---|
.. | ||
push-notification.ts | ||
session.ts | ||
states.ts |