plantcode.hashnode.devC# Learner's Log #1 - 30.01.21Implicit typing involves using the var keyword where the compiler can intelligently figure out what data type an expression is. static void Main(string[] args) { double[] numbers; numbers[0] = 12.7 // Error: ...Jan 31, 2021·4 min read
plantcode.hashnode.devLearner's notes on useEffect in ReactuseEffect allows us to produce some side effects for our component. Anything that reaches outside of the component to do something. Like a network request or setting up timeouts and intervals. Their main job doesn't have to do with managing set or ch...Nov 30, 2020·2 min read
plantcode.hashnode.devBuild a counter with useState in React!A Quick Recap of useState useState enables you to efficiently build functional components which utilise state, moving away from class based components and 'this.state' land. To understand the useState hook, let's first look at a simple class compone...Nov 29, 2020·5 min read
plantcode.hashnode.devA Quick Guide to React Props'Props' are short for property and are optional inputs your React components can accept. They're really a key part of what makes React useful, because they allow similarly structured components to have separate information. Let's say I want to creat...Nov 28, 2020·4 min read
plantcode.hashnode.devDay#2: Programming Log - 'box-sizing: border-box'In CSS, elements are made of the content box itself, as well as the padding, border and margin. You can see the classic box model applied to each element when you hover over to inspect: box-sizing: border-box allows you to change the box model so ...Apr 23, 2020