Massimiliano Mirra
Notes
Subscribe
Expressive components in vanilla React, part 2: IO objects
A(nother) library-free technique to make components easier to maintain and reason about
react
Expressive components in vanilla React, part 1: TypeStates
A library-free technique to make components easier to maintain and reason about
react
Faster, simpler tests with explicit IO channels
Not everything is an argument
testing
The process.env frontend time bomb (plus: a sustainable definition of “fixed”)
From fragility in spite of effort to robustness by design
react
typescript
Test-driven development of NextJS API routes
NextJS's conventions are not TDD-friendly, but with some work and a little structure we can enjoy a smooth red-green ride.
nextjs
testing
How two lines of TypeScript can make a bug go from “undetected in production” to “impossible to introduce”
Notes from 2022/11/16 DevCafe
devcafe
qa
typescript
“I never did any formal design, where can I start?”
Notes from 2022/10/21 DevCafe
architecture
code
devcafe
Emacs package quickstart with Eldev
Notes on creating a basic package with tests and managing it with Eldev
emacs
“I’ve got a React codebase, I want to introduce tests, where do I start?”
Notes from 2022/10/21 DevCafe
code
devcafe
qa
react
testing
TDD and (vs?) testing
Notes from 2022/10/21 DevCafe
code
devcafe
qa
testing
Four patterns for developer-friendly, production-grade NodeJS services
Originally written for collaborators on a project, to explain why services are structured the way they are, and to provide a set of reasoned guidelines
code
collaboration
Comment the code that is not there
So your coworkers don't have to find out the hard way
code
collaboration
Mocking window.ethereum in Playwright for end-to-end dApp testing
A short note on getting web3-mock to work in Playwright tests
playwright
qa
testing
[draft] Structuring projects to guide and inform (for React applications)
A project's structure speaks. Does yours say useful things?
collaboration
react
Bi-dimensional commit messages
The useful dimensions of a change, at a glance
collaboration
Faster interactive development in Storybook
Tweaking Webpack for responsiveness, or hacking Snowpack in
react
Data that grows together, goes together
If it's conceptually interdependent, make it programmatically interdependent
code
typed languages
Lightweight external command integration in Emacs via compilation mode
Doing more without leaving Emacs
emacs
The dangers of greedy functions
Functions that ask for more than they need trick into writing risky code
code
typed languages
Tagged “typed languages”
Data that grows together, goes together
If it's conceptually interdependent, make it programmatically interdependent
code
typed languages
The dangers of greedy functions
Functions that ask for more than they need trick into writing risky code
code
typed languages
See
all tags
.