← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 139
  1. “Help” Doesn't Mean What it Meant

    Yesterday, I had an exchange with a colleague that made me feel something very poignant.

  2. AsyncData

    Over the years, I've had an interest in modeling state problems as accurately as possible.

  3. Nothing is Something

    I really need more people to watch "Nothing is Something" by Sandi Metz so I don't get weird looks when I apply its lessons to my code.

  4. data Attributes for Testing

    I don't know if this is the world's best idea, but given the situation I'm faced with, it's the best one I've got.

  5. Prefer Gaps To Margins

    Preferring gaps to margins is so obvious to me that it's honestly challenging to write about it.

  6. “Refactor” is Not a Scary Word

    One thing I've struggled with throughout my life is using a word with a specific definition that gets interpreted differently.

  7. Fun Coding Exercise: Pyramid Slide Down

    I was doing some more interview prep this past week, this time using an app called Codewars, when I came across a "kata" <Marker content="That's what they call the exercises." /> that stood out to me.

  8. Algorithm: Sliding Window

    import { SlidingWindowVisual } from '.

  9. The Consciousness Lottery

    This will be a departure from my typical topic of writing, but it's something I've been thinking about for well over a decade and would like to finally put into some words.

  10. How I Built “Test Your Focus”

    import { TestYourFocus } from '.

  11. What ADHD Feels Like to Me

    import { TestYourMight } from '.

  12. Prefer Explicit Maps

    This tip is a bit of a weird one.

  13. My git Workflow for Refactoring

    import Image from '../../..

  14. Never Call new Date() Inside Your Components

    import { DiceRoll, Form1 } from '.

  15. Composable Flourishes

    If you've read my blog in recent history, then you're probably aware that I'm a big fan of composition.

  16. Prefer Alphabetized Object Keys

    When it's been a while since I've written a post and I need to get back at it, I like to pick something I can write really quickly and publish right away.

  17. Responsive Design and Composition

    import { Presenter } from '.

  18. Design System Retrospective

    import { Button } from '../../..

  19. Prefer Noun-Adjective Naming

    This one will be super short.

  20. Prefer Multiple Compositions

    Consider the following absurdly simple example: function VideoControls() { const { isPlaying, play, pause } = useVideoControls() return ( <Button onPress={isPlaying ?

  21. align-items: center vs. text-align: center

    For going on three years now, I've been working daily in an environment where all the code that I write has to support both React and React Native.

  22. import { CURVED_TAB_BAR_D, Shape } from '.

  23. Tailwind “Minimum Full Height” Layout

    import { Example } from '.

  24. Make Checkpoint

    When I'm working on production code, I tend to be really good about making atomic commits in git.

  25. Agathist VSCode Themes

    import Image from '../../..

  26. Two Types of Composition

    import { Button } from '../../..

  27. Agathist Q&A

    You might have noticed a few new "ads" around here recently for something called Agathist.

  28. No Outer margin

    Building reusable components can be challenging to do well, and there are some anti-patterns that are easy to fall into that can make it even more difficult.

  29. Type TODO

    import SocialPost from '../../..

  30. Wrangling Tuple Types

    This is going to be a short and simple TypeScript tip for you about tuples.

  31. UI Composition

    import { Card } from '.

  32. Typescript Prevents Bad Things... and Good Things

    import { RandomNumber } from '.

  33. Quit Your YAP-ing

    import { Button } from '../../..

  34. Compound Components

    import { Custom1 } from '.

  35. Context, Composition, and Flexibility

    import { Example1, Example2, Example3 } from '.

  36. Algorithms: Insertion Sort

    import { InsertionSortVisual } from '.

  37. Algorithms: Bubble Sort

    import { BubbleSortVisual } from '.

  38. JSX was a Mistake

    import { Box, ChildrenExample, NoChildrenExample } from '.

  39. Capture Phase Event Handling in React

    import Breakfast from '.

  40. Why Use useReducer?

    import SocialPost from '../../..

  41. Patterns for Functions with Conditionals

    Recently, a tweet about wrapping for loops into functions <Marker content="And my consequent reply to it." /> inspired me to write a (hopefully) brief blog post on two common function patterns I use to handle conditional logic.

  42. Updating State with a Component

    import Example from '.

  43. Conway's Game of Life

    import GameOfLife from '.

  44. The Simulation Pattern

    Disclaimer: If this pattern has an established name, let me know.

  45. The Wrapped State Setter Pattern

    Today, in the process of working on what might potentially become a course on React, I used a pattern that I've found useful from time to time that I want to share with you.

  46. Parametric Design

    import ColorPicker from '.

  47. The “Folded Code” Test

    One underrated feature of code editors is "code folding", the ability to fold a block of code, like this: <div class="mb-4"> <Gif alt="Animation of VSCode collapsing blocks of code from multiple lines, into a single line" gifSrc="/images/folding-code.gif"…

  48. My Course Platform

    import SocialPost from '../../..

  49. How I Would Use a UI Library

    I've recently been working on a project that uses Chakra UI.

  50. What is a Factory Function?

    Building upon closures, I want to teach you about "factory functions", too.