loading...

Handling JavaScript Errors Like a boss by logging them to the server and possibly returning a behavior

github logo ・1 min read

We make a request to your servers as if you are loading a JavaScript file. The url will contain the query parameters that you want to pass to the server.
This method has two advantages:

  1. The code for sending the request is simple as we are just creating/changing the script tag src
  2. We can return some behavior back to the browser from the server possibly redirecting users to some other location
twitter logo DISCUSS
Classic DEV Post from Jun 14 '19

How do you organize your projects?

Where do you keep your side projects and portfolio?

Kabue Charles profile image
Poet; Entrepreneur; Philosopher; Genius Lateral Thinker; Software Architect; Created Library.co.ke

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️