Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 2.21 KB

File metadata and controls

41 lines (26 loc) · 2.21 KB

Passing Functions as Props

Lists and Keys

Description. The keylist command lists the keystore labels in a private keystore. The -S option specifies which end-entity services and libraries to use while listing the labels in the keystore. Available services are defined in /usr/lib/security/pki/ca.cfg.

  • What does .map() return?

map() function returns a map object(which is an iterator) of the results after applying the given function to each item of a given iterable (list, tuple etc.) ... fun : It is a function to which map passes each element of given iterable.

  • how to loop in JSX? The map() method is the most commonly used function to iterate over an array of data in JSX. You can attach the map() method to the array and pass a callback function that gets called for each iteration. When rendering the User component, pass a unique value to the key prop.

  • Each list item needs a unique ____.

Among Siblings Keys help ensure that only the components that have changed get re-rendered. The only way it's possible to keep track on which components have actually been changed is to tag them with a unique key

  • key purpose ?

A “key” is a special string attribute you need to include when creating lists of elements in React. Keys are used to React to identify which items in the list are changed, updated, or deleted. In other words, we can say that keys are used to give an identity to the elements in the lists .

the Spread Operator

The spread operator is a useful and quick syntax for adding items to arrays, combining arrays or objects, and spreading an array out into a function’s arguments.

  • opertion of Spread Operator 1- Using Math functions 2- sing an array as arguments. 3- Adding to state in React. 4- Combining objects.

knew more

in thiis vedio will see more about the react and much more to understand

Things I want to know more about

hoe dose this worke in job afield and what it use for