Uncaught Error: Component suspended while rendering, but no fallback UI was specified.
Not using Suspense but getting this error? Maybe you're using Recoil and haven't specified defaults for your atoms! Go check!…
Not using Suspense but getting this error? Maybe you're using Recoil and haven't specified defaults for your atoms! Go check!…
A word clock in Vue.js…
An article a while back on freek.dev about Tools to automatically format PHP, JavaScript and CSS files instructed you to make a .php_cs file in your project. This file defines the rules for how PHP CS Fixer should behave when run.<?php $finder = Symfony\Component\Finder\Finder:…
Facades in Laravel provide a simple way to access pieces of your application but they can be a little confusing at first. When and why should you use them? We'll explore an example of separating code to make it easier to read and understand, whilst also making it easily accessible in Laravel.…
You may have come across the need to load in map features with the Google Maps API into a map. If you're wanting to change the icon for each point type marker, it may take a while to find how.Here's a snippet of code to do exactly that. I'm…
Heavily inspired by the game rymdkapsel, I set out to make an isometric game with javascript and the canvas element.The demo features an in-progress game manager which includes a state machine, renderer, and event driven entity framework. The grid is randomly generated on each load. The people walking around…
I wrote a small cell life simulator which features cell birth, duplication, and death. There are no specific rules and this was just an experiment with canvas.The counter at the top right shows the number of cells, and the green dots are food (not implemented).…