A software engineer who loves all things with great user experience and photography.
Welcome to my space where I share my thoughts, learnings and travel photos :)
STATUS QUO
Hello folks, been a while since I updated my entries. Felt like touching on a topic that’s closer to my heart today.
READ MORE >>REACT ROUTER BASICS
React Router handles the routing of urls and views in our React projects. It has three packages: “react-router” the core package, “react-router-dom” for web apps and “react-router-native” for mobile apps. Over here we’re only interested in building a browser based app, so we will be using “react-router-dom”.
READ MORE >>CSS - CENTERING A DIV
In my opinion, centering is a must-know technique for front end developers. There are many ways we can do this according to this article depending on how you want to center your element, but in this post I will touch on centering elements vertically and horizontally with examples below:
READ MORE >>CSS - PREPROCESSORS
What is a CSS preprocessor? It extends the CSS language and provides extra functionality on top of CSS. SASS, less and stylus are the more well known preprocessors.
READ MORE >>CSS - STYLING PLACEHOLDERS
How do we style input placeholders text? Say I have an input:
READ MORE >>TESTING REACT COMPONENTS WITH JEST AND ENZYME
Hello! I’ve been using Jest and Enzyme a lot lately, and I just wanted to share some of the ways I use it to test my code. For those of you who don’t know, Jest is a Javascript testing framework and I use it with Enzyme, a Javascript testing utility for React.
READ MORE >>THIS, BIND() AND PARTIALLY APPLIED FUNCTIONS
I recently came across partially applied functions, and in order to understand that, it helps to know more about the this
keyword in Javascript and the bind() function. So this post is to help us understand more about them (:
HOW I CREATED MY BLOG WITH JEKYLL
Hello! I built my blog with Jekyll, a static site generator, and this is a simple tutorial on how to set it up. If you don’t know Git and Github pages, here’s a pretty good site to get you started! I like to use the terminal, so everything’s done in command–line.
READ MORE >>BEHIND-THE-SCENES WITH REACT
P.S. This post is not on the React framework, its on the configuration of tools before starting on React.
READ MORE >>PHP SYNTAX
I had to add a feature to a open source project for one of my modules, and there was a bunch of PHP codes that I had to read. So I went on a PHP-learning session at codecademy. This post will mostly be on PHP’s syntax / data structures.
READ MORE >>MISSING CALI
After half a year of being away, I still miss being in California. I don’t know about you, but certain songs tend to trigger the memories and emotions I have of a certain period in time. Its a feeling that’s hard to put into words and even though there’re tons of songs that can trigger the memories, the one that led me to write this was: Photograph by Ed Sheeran.
READ MORE >>HELLO
Hello! I’ve always wanted to build my own site from scratch after picking up web dev. Happy to say that I’ve finally done so!! This space’ll be filled up with bits and pieces of my thoughts, things I learnt and stuff I wanna share.
READ MORE >>