In our first email, I asked what you thought the most privileged type in React was. I said “array” — because I’m a big dork. Most everyone else said “function!”
I think we’re all right.
What’s an expression?
I’ve used the term “function expression” in previous emails to describe function syntax. But what is an expression?
In human terms, an expression is a way to ask and answer a question:
"Howdy, howdy howdy, chantastic!"
And it doesn’t have to be complex. An expression is anything that gets evaluated:
console.log("Hello" + " " + "world!")
Expressions are how arrays become lists, arrow functions become event handlers, and function declarations become React elements.
Seeing how these expressions can be
exploited used in React is quite fun.
Take it home
Join us in Discord with your answer. I think this will spark a lively discussion.