Sorry for a newbie question. I tried to search, but it was hard to come up with the right keywords to search for my question. I'm trying to understand the following syntax for Native React.
render() {
...
}
Is it calling a function, or defining a function? Also it kind of looks like arrow function from ES6: "() => {...}". However it has a name "render" front of () and there's no "=>" sign. Also there's no keyword "function". Very confused...
Where does this syntax come from, and how does it work? Is it a condensed version of a longer syntax? How would I write in ES5?
Thanks!