Skip to content
matthewcm.dev

    ↑ ↓ move · ↵ open · tab scopeopen graph →

    $ cd ./topics/frontend-craft

    Frontend craft

    Component architecture, React patterns, state, performance and the build tooling that keeps a front end fast and easy to change.

    47 notes🌱 15 seed🌿 28 growing🌳 4 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 (33)

    On the radar

    Coming up