2min chapter

Frontend First cover image

Is Suspense “backwards compatible”, and thoughts on Remix & web standards

Frontend First

CHAPTER

Getting the Initial Ostate From Fire Base

The way you get the initial ostate from fire base is by using this import called on ostate changed. It sets up a listener for the ostate change, they call an observer. And it gives you a call back that runs every time it changes. Ho could have two browser windows open and one would get this call back fired. You could be logged in, close the browser, reopen it, and then this callback will fire as soon as it verifies the session is still authentic.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode