error TS2304: Cannot find name ‘db’. while pushing object in firebase

I am trying to push an object using firebase, where angular will act as frontend. component.html

Adding an object

Angular Universal, app will not load until clicking ‘refresh’ twice

I’m building an Angular Universal App. I recently added a route resolver and started seeing this weird behavior where when I run npm run dev:ssr, the page won’t load until I click the reload button …