Blog of Tiffany White. Thoughts on React & web development.
The concept of setting up a new Mac with a shell script in the programming community is not a new thing, and I found an article on automation by Kent C Dodds and it got me thinking about doing more of it.
Taking a script from Joel Hooks, I struggled with making it an npm module. Here are some mistakes and lessons learned.
Functions, methods, passing a value all sound like jargon to new developers but these are key concepts to understand. What do they mean and what is the difference between them?
Getting to know other people's code can be a fun exercise. But what if it is buggy?
Let's start this post off with a bit of honesty...This year has been hell, emotionally, mentally, physically, and professionally.
To determine what the the efficiency of some function is, first we have to clarify what we mean by efficient.
I have long struggles with building the projects I set out to build and fill my GitHub with. This is due to a crippling penchant for perfectionism at all costs. This is dangerous for your mental health, productivity, and prospective employers.
iTerm2 is an terminal emulator for macOS. It has a lot of features that don't come with the standard macOS terminal. Some people prefer the plain bash terminal, but I am not one of them, as aren't many other folks.
Posts on editor setups are extremely popular. Here is mine.
One of the biggest lessons I am trying to learn as a mid-level dev is *keeping my code simple*.
In order to understand how React renders the UI, we need to understand two crucial elements to a React application *components* and *props*. Each of these elements allow you to reuse pieces of your application and think about each piece in isolation of the others.
In order for React to be as fast as it is, it only needs to update the parts of the DOM that need it.
this in React is a reference to the current component.
Destructuring is a way to extract values from nested arrays and objects.
This post will the last of its kind.
Wrapping up a year is never one wants to do. At least I don't.
One of the coolest features of ES6 is the Spread Operator.
I am thinking of starting another podcast.
I created my first PR. I can’t tell you how long I’ve waited to make a PR on a project I believed in. I got that chance and it went well.
When I first started this blog, I was learning Ruby and I loved it.
I have accepted an offer to join The Practical Dev as an apprentice software developer.
I thought I’d post a short update about why I haven’t been blogging as much.
So I have finished The Web Developer Bootcamp and the final project, YelpCamp, a full-stack Yelp clone built with Node, Express, Mongo, Mongoose, Passport.js, and Bootstrap.
Okay, so not really a love story, but a good one nevertheless.
ES6 modules allows us to have reusable code, in separate files. We do this to eliminate initially massive js files, like app.js in a Node and Express project. Modules allow us to spread code over relevant files.
While perusing The Practical Dev for new posts, I came across a post that intrigued me; Instant +100% command line productivity boost. Productivity for devs is something I’ve been meaning to write about. Now I have the impetus to do so.
I was doing a little GitHub dumpster diving, scrolling through who I was following. Found a guy who I really wanted to keep an eye on who hadn’t posted in a while. I went through his repos and found a personal goals repo. It was a fork. I went directly to the source and found it was Una Kravets repo.
Map is another higher order function that goes through an array and doesn’t discard it but instead transforms/mutates it. Here, I’d like to get an array of all the names of the animals.
When working with multiple levels of conditionals, it helps to DRY things up a bit: not repeating yourself can give performance gains as well as make your code more readable and elegant.
Keep it DRY: Don’t Repeat Yourself As you may have seen in my last post, I have some *ridiculous* conditional statement blocks going on to show/hide the Skycons and for switching up the background photos based on your current weather conditions.
Yesterday I found myself in a situation where the background image in my freeCodeCamp Weather App on mobile was cut off at the bottom. Needed some background image hacks in css to fix it.
After working with web dev technologies for the past two years, I am finally beginning to understand the virtues of developer tools, specifically Chrome DevTools
I worked like a fiend over the weekend on Check Yo Self, reading documentation, implementing features, and taking sone away. Going over the write-good issues on GitHub to see how if it could parse extra characters.
Algorithms are simple; they are a set of instructions broken down into simple steps in order to complete a larger task.
Variables in Java need to be declared before they can be used in Java because it is a *statically-typed* language. Because of this, you need to state the type of variable you are declaring.
This will be a series on working with arrays.
have neglected this site, blog page for **forever**. The reason was because I was getting a bit tired of forcing things to GitHub everytime I wanted to *do* something.
Well, this episode is a tad off...