-
Testing asynchronous behaviour in React
26-08-2021
When writing Components for a web application you're going to have to deal with asynchronousness. If you're writing a custom hook to load data you will want to make sure it behaves as intended. This article covers some things we've learned about testing asynchronousness in React.
20 min.
-
event.stopPropagation() in a modular system
17-08-2017
We build modular web applications in JavaScript. To achieve modularity we need to enforce a limited scope. We take a look at how we approach exposing native functionality and specifically the case of event.stopPropagation().
10 min.
-
How to make a cross domain request in JavaScript using CORS
10-01-2017
Cross-origin resource sharing (or CORS) can be used to make AJAX requests to another domain. We'll look at how to set up CORS on the server in PHP, how to make the request in JavaScript and some considerations.
10 min.