Search

Nalezeno "Props": 31

Two Lessons I Learned From Making React Components


Here’s a couple of lessons I’ve learned about how not to build React components. These are things I've come across over the past couple of months and thought they might be of interest to you if you’re working on a design system, especially one with a bunch of legacy technical decisions and a lot...

SEC Begins Green-Lighting Token Offerings


The U.S. Securities and Exchange Commission recently made history when it green-lighted two token offerings under Regulation A+. “This is the first time in U.S. history that a crypto token offering has received SEC qualification,” one of the two qualified issuers proclaims. Also read:...

10 React Challenges (Beginner): Render Props


Render Props allows React components to share reusable or customizable interfaces as functions through props. In this react challenge, we will render 3 different cards with a single card com

React 16.6.0 Goodies


React 16.6.0 was released October 2018 and with it came goodies that spice up the way we can develop with React. We’re going to cover what I consider the best of those new goodies with examples of how we can put them to use in our work. React.memo() avoids unnecessary re-rendering There...

Digging Into React Context


You may have wondered lately what all the buzz is about Context and what it might mean for you and your React sites. Before Context, when the management of state gets complicated beyond the functionality of setState, you likely had to make use of a third party library. Thanks to recent updates...

What are Higher-Order Components in React?


If you have been in the React ecosystem for a while, there is a possibility that you have heard about Higher Order Components. Let’s look at a simple implementation while also trying to explain the core idea. From here you should get a good idea of how they work and even put them to use. Why...

Force a React Component to Re-Render


The beauty of React components is that they automagically render and update based on a change in state or props; simply update the state from any place and suddenly your UI element updates — awesome!  There may be a case, however, where you simply want to brute force a fresh render of a React...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace