Paul Cowan

  Contract software developer


19 Stories by Paul Cowan

Boost your productivity with TypeScript project references

If you have a TypeScript codebase in a monorepo that is not using TypeScript project references then you are missing out on a productivity...
0 3 min read

JavaScript generators: The superior async/await

It's time for the revolution that never happened.
4 4 min read

Make any SVG responsive with this React component

If you are putting out digital content, there is a high chance that your audience will view it on a mobile device. For text...
0 4 min read

Cypress vs. Selenium: Why Cypress is the better option

Selenium tests are insanely challenging to write and often hard to maintain. Enter:
40 8 min read

Developer frustrations in 2020

Things do not get any easier, they just get different.
2 3 min read

Put the TypeScript enums and booleans away

While enums and booleans may be familiar, you might want to think about using some other TypeScript constructs.
8 3 min read

Does my bundle look big in this?

Whatever the bundler, it is making more and more sense to move away from CommonJS.
0 3 min read

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...
20 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.
6 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.
1 9 min read