PinnedDavid HockleyCreating a quiz app with React hooks and Typescript — Part 1: a simple math quizThe goal of this series is to show how to create a full-fledged quiz app in React. First, we are going to set up a simple maths app and…6 min read·Feb 8, 2021----
David HockleyReact i18n: how to sanely translate your app with i18next and some PythonI work on an e-commerce website that serves customers in 5 languages (English, French, Danish, Swedish, and Dutch). The main gist of the…4 min read·Apr 30, 2021--1--1
David HockleyCreating a custom hook : useCountdown (Creating a react quiz app part 2)So far in part 1, we’ve looked at how to set up useReducer to track the state of our simple Math quiz. However, we now want to display a…6 min read·Feb 26, 2021----
David HockleyHow to use SVG in React JS: 5 reasons why & 4 ways to do itSVG image files are fun. They provide a lightweight alternative to bitmap files. An SVG file is a text representation of a vectorial image…4 min read·Feb 17, 2021----
David HockleyPublishing a static website to AWS with your own HTTPS domain name in 8 easy steps (with a NextJS…If you have a fully static website you can easily host in on S3 and save on hosting fees, but there are a few hoops to jump through. Doing…3 min read·Jan 24, 2021----