What You Need to Know

ReactJS is an open-source JavaScript library, developed and maintained by Facebook, that helps create robust and engaging web apps with minimal coding. The core concept of ReactJS is breaking down complex UI elements into ‘components, which makes large web apps more manageable.

But what if I wanted to make native web apps? Will I be stuck learning Java(for Android apps) or Swift/Objective-C(for iOS apps)? In comes React Native! React Native is used in building out native mobile apps, using the same component breakdown. There is a caveat though; while ReactJS and React Native are similar there are very important differences…

Recently at Flatiron School, my project partner and I created a single-page application that hosted a variety of games. The site came together nicely. It featured games like Tic-Tac-Toe, Connect-4, and 6144 (our take on 2488). We even deployed it on Heroku, so our friends and family could enjoy and marvel at our work. I sent frantic texts and discord messages to all my friends urging them to check out the fruit of our labor. The first message I received broke my heart.

“Hey the site looks great, but I can’t play 6144, or their clones on my phone :(“

Recursion: the repeated application of a recursive procedure or definition.

A recursive function is a function that calls on itself to complete a task, resulting in the function running many times until the base condition is met. Each time the function is called we make it slightly smaller which makes the task easier to complete. Recursion can be a valuable tool in your programming arsenal if used correctly! For example, let's say we wanted to write a recursive program to “eat a sandwich”. In pseudocode, our program would look like this:

  1. If the sandwich does not exist; do nothing
  2. Else…

Imagine this: You are just starting your first big code project. Your fingers dance on the keyboard as you migrate over tables, declare variables, and start building out the core of your app. You get into a real groove, convince yourself you might be able to talk to computers, but then disaster strikes. A big. Fat. Error. “No problem,” you think to yourself. You’ve seen thousands of errors before, you can handle it.

First, you pour over your code. Surely you misplaced a comma or overlooked an “end”. Nope. Next, you turn to your partner. Another set of eyes might…

Patrick Tuszakowski

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