19 Matching Annotations
  1. Dec 2019
    1. Rubydoc.info can automatically fetch and rebuild your docs from your github project everytime you commit! To add a post-receive (commit) hook to Github, simply select the official Rubydoc.info service hook from the list of service hooks in your project settings.
  2. Nov 2019
    1. It makes sense that the incoherent render would not be committed to browser and that it would not have any consequences most of the time. But that means that you render logic must be ready to manage incoherency between props and states without crashing. E.g. a list of resource ids in props that doesn't match a list of http requests from a previous id list in the state could lead to weird situations. This is a worry that didn't exist in class components.
  3. Sep 2019
    1. The equivalent ways in functional components using Hooks:In a state variable: useState or useReducer. Updates in state variables will cause a re-render of the component.In a ref: Equivalent to instance variables in class components. Mutating the .current property won’t cause a re-render.
    1. make the entire course relevant to students’ daily lives. All of the labs center around chemicals and materials that students interact with regularly. For instance, they evaluate bottled water versus tap water, test both for pH, conductivity, and taste, and then debate why so many people choose bottled over tap
    2. You can also make class activities relevant to contemporary social movements, to future careers in your major, or to some transcendent purpose
  4. Aug 2019
  5. Mar 2018
    1. No guarantees are made as to the order in which the different scripts are executed unless the prereqs are setup in the script. Please notice that PREREQ is only honored inside a single directory. So first the scripts in /usr/share/initramfs-tools are ordered according to their PREREQ values and executed. Then all scripts in /etc/initramfs-tools are ordered according to their PREREQ values and executed.

      PREREQ is used to determine the execution order of hook scripts

  6. Jan 2017
  7. Dec 2016