paint-brush
React — The State Bait and This Dot Problemsby@pyan
438 reads
438 reads

React — The State Bait and This Dot Problems

by Puyan Wei4mSeptember 6th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

ES6 updates are pretty essential to learning React, which can be quite beginner unfriendly. It is important to learn ES6, but for the sake of consistency ES6 is the way to go. Don’t mutate the original state, it is a huge no-no in functional programming. Bind Off Your ‘This’ Problems with Arrow Functions with the ‘…’ allows an existing array to be referenced but not modified. Bind off your ‘this’ function keywords to avoid scoping problems.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - React — The State Bait and This Dot Problems
Puyan Wei HackerNoon profile picture
Puyan Wei

Puyan Wei

@pyan

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Bitcoininsider