Author Archives for Eric Njanga

My kind of fun

January 15, 2018 11:26 am Published by Leave your thoughts
Experience the Raptors at the Air Canada Center Experiencing a great basketball game right from the stands at the Air Canada center (the closer you are from the players, the better). Walk by the beautiful gallery of boutiques and shops all... View Article

Appreciating nature: Photo by Kalen Emsley on Unsplash

2018 Resolutions

January 1, 2018 8:50 am Published by Leave your thoughts
2018 is here! Wow, it feels like the previous year just flew by. I feel greatful about 2017 because I challenged myself at many things, made lots of personal discoveries and learned tremendously. But, I also feel the need to improve... View Article

Photo by S. Ross Morris on Unsplash

Reusing code between components in React

December 29, 2017 7:48 pm Published by Leave your thoughts
Composition Composition in React is the action of using components as building blocks for other components using the techniques of “containment” or “specialization”. Containment Containment is all about creating “empty spots” in a component for any random component to fill.You... View Article

Photo by Nik Shuliahin on Unsplash

Lorsque la confience vous quitte

December 25, 2017 1:42 pm Published by Leave your thoughts
Les ressentiments C’est une cruelle sensation que de perdre confience en soit! La moindre chose vous intimide ou vous inquiète. Vous vous imaginez des menaces qui n’existent même pas. Des propos parfois innocent à votre égard vous donnent l’air d’être des... View Article

Photo by David Marcu on Unsplash

Controlled Components

December 21, 2017 5:14 am Published by Leave your thoughts
A controlled component is a form element whose value or behavior is controlled by React. For example: A form generated by a component whose submission is controlled by React An input text, text-area or select whose value is controlled by React... View Article

Photo by Daria Nepriakhina on Unsplash

Canadian Government Startup Initiative

December 16, 2017 9:04 am Published by Leave your thoughts
The Canadian government just recently launched a program aimed at modernizing its digital services. The rise of tech giants and their disruptive impact on the Canadian way of life (shopping, information consumption, entertainment, …) has pushed the government into seriously considering migrating... View Article

Photo by Brandon Mattingly on Unsplash

React Component Lifecycle

December 14, 2017 11:28 am Published by Leave your thoughts
Mounting React Refers to a set of methods that are called when an instance of a component is being inserted into the DOM. These methods are: constructor componentWillMount render componentDidMount Unmounting React Refers to the method which is called when... View Article

Photo by Maria Fernanda Gonzalez on Unsplash

Box-sizing and why it matters

December 2, 2017 3:55 pm Published by Leave your thoughts
An understanding of box-sizing is of tremendous importance when building stable and solid responsive layouts. Box-sizing is part of the box-model CSS module, it dictates how the browser should render box elements. Box-sizing is connected to four CSS properties: width... View Article