Skip to content
matthewcm.dev

    ↑ ↓ move · ↵ open · tab scopeopen graph →

    $ cd ./topics/frontend-craft

    Frontend craft & testing

    Component architecture, React patterns, security and testing strategies that give teams confidence rather than ceremony.

    28 notes🌱 1 seed🌿 20 growing🌳 7 evergreen

    Good frontend work is mostly invisible: components that compose, data that’s validated at the edge, and tests that fail for the right reasons. This hub gathers how I structure React apps, design components other teams can actually reuse, and test them, from unit tests with a mocked network to end-to-end suites that whole departments share.

    Start here

    Architecture

    Testing

    Security and hygiene

    Tools and setup

    Open questions I’m exploring

    • How much of the testing pyramid can AI assistants write well, and how do you stop them duplicating tests for components that are already covered?
    • Contract testing for frontends: is generating mocks from OpenAPI enough, or do consumer-driven contracts earn their keep?
    • Where does visual regression testing pay off, and where is it just noise?

    hover to explore · click to open

    Case studies

    🌳 Start here

    Still growing (15)

    On the radar

    Coming up