I’ve learned that people will forget what you said, people will forget what you did, but people will never forget how you made them feel.
The main advantage to using setImmediate() over setTimeout() is setImmediate() will always be executed before any timers if scheduled within an I/O cycle, independently of how many timers are present.
…ENV === 'production'. This is checking to see if you are running a production build. If you aren’t running a production build, the SW will be replaced by a no-op file.
…ENV === 'production'