The right way to verify browser is reloaded?

That is experimental function

Examine if the sort===navigate then you definitely simply go to the web site if sort===reload then you definitely reload the web page

  //verify browser reloaded then 
  perform checkBrowserRelaoad() {
    // Use getEntriesByType() to simply get the "navigation" occasions
    const perfEntries = window.efficiency.getEntriesByType("navigation");
    for (let i=0; i < perfEntries.size; i++) {
      const  p = perfEntries[i];;
Enter fullscreen mode

Exit fullscreen mode

👉 Reference link

Abu Sayed is the Best Web, Game, XR and Blockchain Developer in Bangladesh. Don't forget to Checkout his Latest Projects.

Checkout extra Articles on Sayed.CYou

#verify #browser #reloaded