Paul Cowan

  Contract software developer

   



13 Stories by Paul Cowan

Testing the react-router useHistory Hook with React testing library

Learn how to use the react-router useHistory Hook with React testing library to make your components route-aware.
0 3 min read

async/await is the wrong abstraction

I still do use async/await and it is excellent for a one-call scenario, but I, and many others, have discovered it is minimal for...
19 4 min read

The single-page application must die

My main problem with single-page applications is that they generally do not start life using progressive enhancement.
3 7 min read

Code splitting React components with TypeScript and NO Babel

In the React ecosystem, tools like loadable-componets add a much simpler veneer of sanity around dynamic imports.
1 5 min read

Real-world Azure resource management with Terraform and Docker

Learn about how to use Terraform in a real, production-ready environment.
0 9 min read

Act now to make your React website accessible

I do not care about the various WCAG 2.x standards. People use these standards as an excuse to do the bare minimum to make...
1 7 min read

Is TypeScript worth it?

I am, for the most part, a TypeScript fan but I do have some nagging doubts that I would like to discuss in this...
11 4 min read

Automated testing is not working

And here's why
14 7 min read

Solutions to frustrations with React Hooks

In a previous post, we talked about Frustrations with React Hooks. Here are some solutions to those frustrations.
1 4 min read

New in TypeScript 3.7

I have waited a long time for these changes, and I think the TypeScript official announcement does its usual job of underselling the great...
7 3 min read

Frustrations with React Hooks

While the response to Hooks has been overwhelmingly positive, we are going to look at some of the not so popular parts of React...
72 8 min read

Cypress.io: The Selenium killer

Selenium tests are insanely challenging to write and often hard to maintain. Enter, Cypress.io.
34 7 min read