Understanding Javascript for the React Js by Adeyemi Simeon
Understanding Javascript for the React Js by Adeyemi Simeon at the JS Hack Accra. The talk is about the fundamental Javascript concepts that will help in picking up the ReactJs library.
building the structure and elements of computer programs—that treats computation as the evaluation of mathematical functions and avoids changing-state and mutable data Wikipedia Definition of FP
as an argument to other functions They can be returned by functions First Class Functions Don’t depend on data other than what is passed in, and don’t alter data other than what they returned Math.max(1,9) NOT Math.random(1, 9) Pure Functions
so widely used Instead of changing an array, to add a new item you create a new array by concatenating the old array, plus the new item. An object is never updated, but copied before changing it. Immutability
released these awesome resources for free: ▪ Intro to Functional Programming by Flavio Copes ▪ React: The Big Picture by Cory House ▪ Photographs by Google Images ▪ FreeCodeCamp tutorials on ES6 by Beau ▪ Fun Fun Function tutorials on Functional Programming by MPJ