Blog

cover image for Dynamic Themes with GatsbyJS
// 2021 April 18Dynamic Themes with GatsbyJSI was bored this Saturday and decided to try something. I wasn't exactly sure how possible it would be since GatsbyJS generates static pages. Naively I thought whatever gets thrown into gatsby-config.js would be static as well... The answer is…
cover image for Intro to GraphQL
// 2020 November 14Intro to GraphQLUsing Github's Public API to understand what GraphQL can offer: Github REST API (v3) Github GraphQL API Explorer (v4) To see what Github's REST API (v3) can provide we can go to the parent route ( https://api.github.com/ ) which will list all of the…
cover image for React Context with Hooks
// 2020 October 12React Context with HooksI'm having a lot of fun with React. As much as I appreciate the structure class components provide, it does however take a lot of effort to write out and can get complex very quickly if not careful. Using function components have been a breeze…
cover image for React Fragment
// 2020 April 21React FragmentHave you ever inspected a React site and wondered why there are a ridiculous amount of nested divs? It would be a nightmare to later target these elements. This is because for every JSX component, only one element can be returned. So over time, if we…
cover image for ESLint & Prettier Setup
// 2020 April 03ESLint & Prettier SetupRequirement: Install Node.js In your Github repo, be sure in your ".gitignore" file to add node_modules . This will prevent git from pushing this giant file full of dependencies to your master. In your repo also add a new file called "package.json…
cover image for Floating Point Precision
// 2020 March 05Floating Point PrecisionIf you're like me and don't really count on JavaScript being your calculator, this might be of help. One client needed me to simply add two products together displaying the total for a new feature to " add both to cart "... not so simple of a task…
cover image for HackerRank Challenge: Sales By Match
// 2020 January 21HackerRank Challenge: Sales By MatchGoing over these challenges, I wanted to explain what steps I took to solve them. Even if they are not difficult, there is a temptation to assume one "already knows" and there might be gaps in their logic. I think it's good to process what it is that…
Copyright © 2021. Jake Wantulok