Message from JavaScript discussions

July 2019

— Thomas

— 

Using service workers to handle large requests that take approx. 11 secs.. so just for keep my ui stable, is that a good idea?

— In my experience it’s a good idea.
Responsive UI is a must.

— How do you debug such a worker, as as i know requests via (axios in my case) beeing proxied automatically, but not in dev mode?

Message permanent page

— I haven’t had experience with network requests inside the worker. My case was a really expensive function.

Message permanent page

— I think Chrome Developer tools have ways to listen for console events and attach a debugger to the worker

Message permanent page

— So the worker in my app is globally defined and i can call specific functions, or itself has eventhandlers for some fetches etc.

Message permanent page

— How can I take my step in Js as a leaner

— Why the last letter of let name is not getting displayed, it is showing undefined

— Anyone is active r8 nw

— That’s not the last letter. That’s the last + 1.

— Because arrays start in 0