React hooks and “setInterval”

If you've ever come across having to use setInterval within react hooks you probably hit a wall where the component just doesn't act as it should... For example, we might naively code something like this: import React, { useState } from "react"; import "./styles.css"; export default function App() { const [counter, changeCounter] = useState(0); setInterval(() … Continue reading React hooks and “setInterval”

Singleton patterns in Python’s AIO-HTTP

AIO-HTTP is a web server framework built on python 3's async capabilities. The performance benefits of using async are widely documented online - but suffice to say you can get performance from Python which is on par with NodeJS! If you're coming from a Java (or similar) background, one of the questions you'll probably come … Continue reading Singleton patterns in Python’s AIO-HTTP