Within the render() method you use this when: accessing props: this.props.whatever accessing states: this.state.whatever accessing methods: this.method Not used when: variables:
Tag Archives: javascript
How to concatenate/link two ternary operators
When you link two ternary operators together, the second return can be another condition that introduces another ternary operator. Like this.