Andrey (azangru) wrote,
Andrey
azangru

To the future me: I keep returning in my mind to the simple idea in this talk about containing React component's logic in a custom hook and having a purely presentational component that receives, via props, methods exposed by this hook. Nothing groundbreaking; it's a similar pattern to what people used with "smart" vs "dumb" components, or higher-order components; but it's something I've been thinking about fuming that hooks make components harder to test.

Subscribe

  • (no subject)

    Cool cover. Love the style. But who's that man behind Kyle? P.S.: Ah, Travis McMichael I assume? Saw a photo of him on social media today.…

  • (no subject)

    Developers of the Remix framework (which they open-sourced yesterday) are asked about their business model, and the (co-)founder passionately talks…

  • (no subject)

    Metaverse, Rust, Solana, blockchain, NFT, augmented reality, and other fancy tech, all in one impressive talk:

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments