tag: 'Svelte for someone coming from React'

Narrow your search:

    Log in Sign up
    1 Matching Annotations
    1. Oct 2020
    2. dylanvann.com dylanvann.com
      Svelte Components Are Not Resilient
      1
      1. TylerRick 12 Oct 2020
        in Public
        To fix our Svelte version you might think we could use beforeUpdate or afterUpdate, but these lifecycle functions are related to the DOM being updated, not to prop updates. We only want to rerun our fetching when the album prop is changed.
        lifecycle callbacks UI library: reacting to prop changes easy to get wrong easy to confuse (mix up) the natural assumption false assumptions surprising confusing for newcomers Svelte for someone coming from React
      Visit annotations in context

      Tags

      • easy to get wrong
      • confusing for newcomers
      • the natural assumption
      • lifecycle callbacks
      • easy to confuse (mix up)
      • surprising
      • Svelte for someone coming from React
      • false assumptions
      • UI library: reacting to prop changes

      Annotators

      • TylerRick

      URL

      dylanvann.com/svelte-components-are-not-resilient
    Share:
    Group. Only group members will be able to view this annotation.
    Only me. No one else will be able to view this annotation.
    Hypothes.is
    • About
    • Blog
    • Bioscience
    • Education
    • Jobs
    • Help
    • Contact
    • Terms of Service
    • Privacy Policy