Being JSON does not mean the data is ready
Validate JavaScript data before using it: structure, finite numbers and explicit units, without hiding errors behind coercion or default values.

JOURNAL / FRONTEND, DESIGN & CODE
Validate JavaScript data before using it: structure, finite numbers and explicit units, without hiding errors behind coercion or default values.

A fetch-based search explores cancellation, out-of-order responses and interface states without confusing the last to finish with the current request.

JavaScript events, duplicate subscriptions and AbortController cleanup: defining an interaction's lifetime and checking what it actually does.

How I separate content that needs to appear first from effects and requests that can wait, using the portfolio as an example.

The clock and weather share a place in my portfolio, but not a dependency. Here is how I separated time, location and a request that can fail.

No articles match this selection.