9 Matching Annotations
  1. Oct 2020
  2. Sep 2020
    1. being able to compose multiple components' functionality via decoration (not creating new "combo" components or something) is more elegant, and something I wish React had.
    2. Sounds like Mixins are on their way out
    3. The whole point of directives is composability. First: you can apply a directive to any component, even components included from other libraries. Second: you can apply multiple directives to the same component. Directives are decorators, so it's not the same thing.
  3. Jan 2020
    1. Arel’s ComposabilityInternally Arel functions on AST nodes and every time an Arel method is made, the nodes in the AST will be modified accordingly. This is an important nature of how Arel works — composability, so that it’s able to build queries in a flexible way. With this abstract representation, we are able to safely add different filters and operations to the same query and even combine queries regardless of its order. Arel is able to generate the correct SQL query from it.