A step-by-step tutorial on setting up a modern React app with no boilerplate



The main objective of this tutorial was to get myself to better understand the multiple moving parts that make a React app work rather than just accepting the “magic” of the many templates/boilerplates out there (e.g. create-react-app and react-boilerplate).

It was very much inspired by Jedai Saboteur’s extremely well-written Creating a React App… From Scratch. The article is so good it is referenced in the official React docs.

However, times change, and I wanted to build a modern React app from scratch in 2021. As such, I had a few more “essentials” to include in the toolchain and wanted to…


And How You Can Implement It On Your React Website

Image for post
Image for post
Photo by Andre Benz

I love me some dark mode.

Hence, when I build websites for my projects these days, I make sure to include it.

It’s generally been quite simple, until I had to do it for my company’s website.

Turns out flipping some colors can be quite a task after all. Now try explaining that to your boss…

Don’t believe me? Here’s YouTube loading dark mode:


Practical answers to day-to-day problems

Image for post
Image for post

I use Git every single day.

So do most software developers.

Honestly, Linus Torvalds’ little side project almost feels like a miracle.

However, the tool is so powerful and extensive that it’s easy to get lost in all the possible commands it has.

Hence, based on my own experience, here’s a compilation of answers to common questions about “how do you do X with Git” that I’ve encountered on a regular basis. Some of us may even use these solutions on a daily basis.

Indeed, many of the commands addressed here will be rather simple, and often well-known by the…

What’s the alternative to the algorithms we love to hate on?

Image for post
Image for post
Photo by Christina @ wocintechchat.com

It feels like every day I open Medium there’s a new post about why the hiring process for software developers sucks.

So, as someone who has just been through a hiring process, I thought I should share my thoughts on how it went.

I’m not here to criticize interviews or argue against algorithms. There’s enough of that out there already.

I’m here to talk about a process that I went through and found to be very fair, hoping to shed light on what a solution may look like, instead of adding to the list of articles talking about the problems…


Pick Your Weapon of Choice and I’ll Show You How to Fight

Image for post
Image for post
Photo by M. B. M.

⚠️ Important Note

I am not qualified to offer investment, legal, or any other advice, nor am I trying to do so. This is a programming tutorial aimed at teaching you how to build a trading bot for learning purposes. Any decisions, investments, or risks you take as a result of building a trading bot are your responsibility.

I cannot be held responsible for any decisions you make as a result of reading this tutorial. Remember: Bots can lose a lot of money, so you should be careful.

Quite regularly, we all come across some variation of this article: “10 Projects You Should…

I asked a bunch of programmers about their favorite syntax — here’s what they said

Image for post
Image for post

A little while ago I decided to have a little fun and wrote an article titled “My Favorite Pieces of Syntax in 8 Different Programming Languages.”

I published it and then decided to share it on a subreddit — r/ProgrammingLanguages. This led to an interesting discussion about programming language syntax, as users shared their own favorites.

It left me with no choice: I had to write a new article with my favorite pieces of syntax from the r/ProgrammingLanguages community.

A Compilation of Adored Syntax Across Programming Languages

Before we get into it, I should quickly clarify what this article is and what it isn’t.

❌ It isn’t a programming tutorial.

❌ It isn’t going to explain the snippets presented.

❌ It isn’t an objective list.

✅ It is meant for fun.

✅ It is a compilation of opinions from various people.

While it would be…

Meet Nim: the language with Python-like syntax and C efficiency

Image for post
Image for post
While quite representative, the image above is for illustrative purposes only, i.e., it isn’t an actual chart of real results. (Image source: Author)

A few weeks ago I was browsing through GitHub and encountered a repo that caught my eye. It hosted a project that was written entirely in Nim.

What the hell is Nim? I thought.

Immediately I concluded this was one of the many programming languages that a lot of people use, but I just was the stupid guy who didn’t know it. But rather than putting it aside, I decided: Let’s learn a bit about this.

I then had two major realizations:

  • No, this language is not used by a lot of people.
  • But maybe it should be.

So here…


Because Criticizing Is Too Easy…

Image for post
Image for post

We love to criticize programming languages.

We also love to quote Bjarne Stroustrup:

“There are only two kinds of languages: the ones people complain about and the ones nobody uses.”

So today I decided to flip things around and talk about pieces of syntax that I appreciate in some of the various programming languages I have used.

This is by no means an objective compilation and is meant to be a fun quick read.

I must also note that I’m far from proficient in most of these languages. Focusing on that many languages would probably be very counter-productive.

Nevertheless, I’ve…


Inspecting the Components of Success

Image for post
Image for post

Calm down.

I’m sure a lot of web developers who clicked on this article are already about to submit a response talking about why React is great and the benefits of using it.

But no — I’m not here to trash React.

I’m here to ask the question: Why do we even use React?

And I don’t mean “why do we use React since it sucks and there are better options”.

I mean, how did we get here? Why is React popular? What makes it popular? Do we need it? Why do we even use it?

The reason I wanted…

Yakko Majuri

Writing code and writing about writing code. Exploring the underrated topics in Software Development. I speak for myself only.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store