Glossary: Angular Beyond the Basics
afterNextRender
A function that runs a callback once, in the browser only, after the page is first drawn. Use it for browser-only code such as `localStorage` so the server doesn't crash.
Glossary: Angular Beyond the Basics
A function that runs a callback once, in the browser only, after the page is first drawn. Use it for browser-only code such as `localStorage` so the server doesn't crash.