20 Matching Annotations
  1. Aug 2022
    1. To reduce liquidity indirectly, projects can provide incentives that make individual token holders less willing to sell.

      Staking or standalone value like soc exp pr in-person events.

  2. Aug 2021
    1. Here’s where immutability comes in: if you’re passing props into a PureComponent, you have to make sure that those props are updated in an immutable way. That means, if they’re objects or arrays, you’ve gotta replace the entire value with a new (modified) object or array. Just like with Bob – kill it off and replace it with a clone. If you modify the internals of an object or array – by changing a property, or pushing a new item, or even modifying an item inside an array – then the object or array is referentially equal to its old self, and a PureComponent will not notice that it has changed, and will not re-render. Weird rendering bugs will ensue.
    2. An easy way to optimize a React component for performance is to make it a class, and make it extend React.PureComponent instead of React.Component. This way, the component will only re-render if its state is changed or if its props have changed. It will no longer mindlessly re-render every single time its parent re-renders; it will ONLY re-render if one of its props has changed since the last render.
  3. Mar 2021
    1. Last week, I shared how to check if an input is empty with CSS. Today, let’s talk about the same thing, but with JavaScript.
    1. You can do and impressive amount of form validation with just HTML attributes. You can make the user experience pretty clean and clear with CSS selectors.
    1. the client form validation is the one I like a lot, because, for example, by adding required attribute to an input, I don’t need to write any additional JavaScript to warn a user, when the user submits a form without filling out the required fields
  4. Feb 2021
  5. Nov 2020
    1. Frontend frameworks are a positive sum game! Svelte has no monopoly on the compiler paradigm either. Just like I think React is worth learning for the mental model it imparts, where UI is a (pure) function of state, I think the frontend framework-as-compiler paradigm is worth understanding. We're going to see a lot more of it because the tradeoffs are fantastic, to where it'll be a boring talking point before we know it.
  6. Oct 2020
    1. Final Form makes the assumption that your validation functions are "pure" or "idempotent", i.e. will always return the same result when given the same values.
    2. Final Form makes the assumption that your validation functions are "pure" or "idempotent", i.e. will always return the same result when given the same values. This is why it doesn't run the synchronous validation again (just to double check) before allowing the submission: because it's already stored the results of the last time it ran it.
    1. If your React component’s render function is “pure” (in other words, it renders the same result given the same props and state)
  7. Jan 2019
  8. Dec 2018
    1. With a RIMS, librarians don’t just manage a collection of primary sources; they develop reports and metrics by curating metadata from all departments, making the library not only the go-to spot for information on campus, but also the go-to spot for information about the campus.  

      A great value prop for libraries in the OA era!

  9. May 2018
    1. Pride of Cows provide pure cow milk without preservatives and homogenized from our organic milk farm. Homogenization involves processing milk so that the cream does not separate. Our organic cow’s milk provides a daily dose of essential nutrients.

  10. Mar 2018
    1. Cow milk is the primary animal milk that is popular in India due to its ability to boost the immune system and help stimulate growth. With the overall demand for cow milk specifically, the market production processes have drastically deteriorated, giving rise to adulterated and heavily contaminated cow milk.

  11. Feb 2018
    1. Avvatar India offers you vegetarian product - pure whey protein powder, packed with both concentrate and isolate to get maximum health benefits. Whey concentrate is one of the most popular and economical form of protein for the human body to digest and use.

  12. Jan 2017
    1. mixhumanmotives,nottopurifythem

      I see mix and purify serving the same purpose here. I'm thinking that Apple could be creating pure motives by mixing so many motives together. Oddly enough, I think its kind of like cooking. Essentially, the ingredients used in cooking may be pure or not so much. But, by mixing them the impurities are removed. Might have missed the mark...

    2. purecareer

      I'm confused as to why this is pure