- Aug 2022
-
a16zcrypto.com a16zcrypto.com
-
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.
-
- Aug 2021
-
daveceddia.com daveceddia.com
-
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.
-
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.
-
- Mar 2021
-
-
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.
-
-
css-tricks.com css-tricks.com
-
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.
-
-
girliemac.com girliemac.com
-
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
-
- Feb 2021
- Nov 2020
-
news.ycombinator.com news.ycombinator.com
-
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.
-
- Oct 2020
-
stackoverflow.com stackoverflow.com
-
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.
-
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.
-
-
reactjs.org reactjs.org
-
If your React component’s render function is “pure” (in other words, it renders the same result given the same props and state)
Tags
Annotators
URL
-
-
github.com github.com
-
Pony pureness, really? While polyfills are naughty, ponyfills are pure, just like ponies.
-
Polyfills are naughty as they patch native APIs, while ponyfills are pure and don't affect the environment.
-
- Jan 2019
-
www.nutraorganix.com www.nutraorganix.com
-
Green coffee bean extract capsules for weight loss, stomach, weight problems. Green coffee beans capsule is currently among the world's most popular weight loss supplements.
-
- Dec 2018
-
libraryconnect.elsevier.com libraryconnect.elsevier.com
-
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!
-
- May 2018
-
www.prideofcows.com www.prideofcows.com
-
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.
-
- Mar 2018
-
www.idleexperts.com www.idleexperts.com
-
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.
-
- Feb 2018
-
www.avvatarindia.com www.avvatarindia.com
-
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.
-
- Jan 2017
-
static1.squarespace.com static1.squarespace.com
-
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...
-
purecareer
I'm confused as to why this is pure
-