Sam Apostel

Articles

Communication between components

RSC's have a limitation when it comes to lifting state up to the most common ancestor. The solutions also clean up your regular react apps.

Can we replace framer motion with scroll timelines?

Last week I was playing with css animation timelines. They have the power to simplify web animations, but are they enough?

JavaScript gets Array grouping

"I have written this function so many times that I recognise it's shape."

Achieving inbox zero.

Staying on top of things is hard. Build tools that help you.

You might not need useRef for that

According to the React maintainers, React developers reach for the useEffect hook too quickly. It is far from the only hook with many naive usages. Why won't we go through my favorite example of an incorrect usage for useRef?

Projects

I'm always starting new projects. Here are some of the things I have been working on.

Polar printer

more ->

A novel 3D printer build around a rotating build plate. All of the electronics are located underneath the build plate.

SDF slicer

more ->

Direct GCODE generation in the browser. Create a graph with a set of pre-build nodes for 3D modelling and webGPU slices this realtime straight from the signed distance field graph definition into valid GCODE.

Mono 24

view

A modern monochrome black and white VSCode color theme.

Keycard

A 20% mechanical hot-swappable bluetooth split keyboard the size of a credit card.

A website for our embroidery business.

Gadget Observer

gadget.observer

A Pinterest like feed of gadgets. Perfect for making birthday gift lists.