Eric Njanga Web Developer / Technologist

Eric Njanga Web Developer / Technologist

2018 Resolutions

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
Eric Njanga Jan 01, 2018

Thinking In React

React is a powerful JavaScript framework built around two basic rules: Data flows only one way: From parent to child components (down the component hierarchy) Component restricted scope: A component can only update its own state Being able to build... View Article
Eric Njanga Jan 26, 2018

Trop de pauvreté tue l’amour

L’histoire Un couple de jeunes étudiants qui sont très amoureux ont une relation presque parfaite, innocente et sans scrupules. Tout est merveilleux jusqu’au jour où s’abattent sur eux une myriade de difficultés qu’ils ne peuvent pas ignorer. Leur amour résistera-t-il... View Article
Eric Njanga Jan 23, 2018

My kind of fun

The Raptors at the Air Canada Center Walk by the beautiful gallery of boutiques and shops all around the Air Canada center arena. If you are a gourmet, why not try some of the fine restaurants near by? Once in... View Article
Eric Njanga Jan 15, 2018

Reusing code between components in React

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
Eric Njanga Dec 29, 2017

Sharing state between two or more components in React

Lifting state up In React, sharing state between components can only be done by moving it up to the closest common ancestor of the components that need it. We call it “lifting state up”. Lifting state involves writing more “boilerplate” code than two-way binding... View Article
Eric Njanga Dec 28, 2017

CSS Grid and website prototyping

CSS Grid can be used as a website prototyping tool. Supposing we’d like to try a couple of arrangement possibilities for a layout, CSS Grid is an excellent choice and we’ll see why! Using Named Areas CSS Grid “Named Areas”... View Article
Eric Njanga Dec 27, 2017

Lorsque la confience vous quitte

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
Eric Njanga Dec 25, 2017

Controlled Components

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
Eric Njanga Dec 21, 2017

Canadian Government Startup Initiative

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
Eric Njanga Dec 16, 2017