One thing Iโve learned from coding is that the simplest solution is often better than the cleverest one. If I have to spend five minutes explaining my own code a week later, I probably made it more complicated than it needed to be ๐
We haven't written up this one. Dev.to has the full story โ the link below goes straight to it.