lachlanjc’s avatarlachlanjc’s Twitter Archive—№ 12,461

  1. …in reply to @gabe_wilk
    @gabe_wilk Especially in React apps I often have child elements that are conditionally rendered (e.g. a "NEW" badge on some rows). With margin you have to be very careful about supporting both & handling the first/last elements' end margins, but with gap it often just works.