Making A Browser Console Log Wait Until Page Reloads [A How-To Guide]

Written by tywmick | Published 2020/06/22
Tech Story Tags: consolelog | web-development | javascript | nextjs | next.js | latest-tech-stories | browser-console-log-wait | console-delay-till-page-reload | web-monetization

TLDR An open source JavaScript framework with a development server usually hot-reloads when you update files while the server is running. In the few cases where hot reloading isn’t possible and the page has to fully reload, you want to warn your users and explain why this is happening. But the moment it shows up in the console, the page reloads, and the browser clears it. Even if your user is eagle-eyed enough to notice your warning flash on the screen for a fraction of a second, it isn't there long enough to actually read.via the TL;DR App

no story

Written by tywmick | Software developer, former RV nomad.
Published by HackerNoon on 2020/06/22