DEV Community

Cover image for Array Manipulation in React
Chris Godber
Chris Godber

Posted on

Array Manipulation in React


Covering some methods of common array manipulation in javascript
in an example react project

0:00 - Intro
03:56 - push method - push a random number to end of array
07:06 - index referencing - reference 1st value in array
09:00 - Display Length of an array
11:00 Map Method - Map values of original array x 2
15.00 Filter Method - filter numbers over 5 in original random array

Sourcecode :
https://github.com/drnoir/arrmanip

Top comments (0)