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:
Author Archives: jorgeberen
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.
How I learn to code
If you don’t fully understand some code, carry on coding, repeating the same patterns, the same blocks of code. If you don’t understand why you have to include certain things, carry on including them and typing them and finish the programmes as the instructions tell you to. It will help you in the long runContinue reading “How I learn to code”
Learning to code
I have read several times that “every developer should have a blog”. So it has finally sunk in. My name is Jorge and this is a blog to document my learning process. Verbalising is a good exercise to reflect and reinforce what I learn.