Open in app

Sign In

Write

Sign In

Mike Pottebaum
Mike Pottebaum

46 Followers

Home

About

Nov 9, 2020

How To Add Webpack To An Auto-Created React App

Creating a React app using the create-react-app command can seem like magic. If you’ve used React before, you might be vaguely aware of the presence of things like Webpack or Babel under the hood, but you aren’t required to know anything about them to successfully construct a highly functional application. …

7 min read

7 min read


Published in JavaScript in Plain English

·Nov 2, 2020

Build Reusable React Components with styled-components

I first used styled-components when I starting working on my first large application, and I really like how it works. It allows you to build reusable components that are easy to grow and adapt to new situations as you build different layouts. I’m going to go over some ways you…

React

4 min read

Build Reusable React Components with styled-components
Build Reusable React Components with styled-components
React

4 min read


Published in JavaScript in Plain English

·Oct 26, 2020

How To Alert A User Before Leaving A Page In React

This past week I had to figure out how to stop a user before leaving a specific page for broadcasting a concert and, if they choose to close the tab or navigate to a different page, hit an API endpoint that ends the concert. This was a difficult problem because…

React

4 min read

How To Alert A User Before Leaving A Page In React
How To Alert A User Before Leaving A Page In React
React

4 min read


Published in The Startup

·Oct 19, 2020

How to Animate With CSS

From the moment I first started learning CSS, I was simultaneously excited and terrified of learning CSS animations. On the one hand, animations are maybe the most exciting and fun aspect of CSS. The simplest animation can breathe life into a user interface and completely transform it. On the other…

CSS

3 min read

How to Animate With CSS
How to Animate With CSS
CSS

3 min read


Oct 12, 2020

How To Use (More) React Hooks

A while ago, I wrote about using the basic React hooks, useState and useEffect. Since then, I’ve been working completely with functional components in React and have been able to explore the other hooks React offers. useContext useContext is similar to useState except its meant for global values that need to…

React

2 min read

How To Use (More) React Hooks
How To Use (More) React Hooks
React

2 min read


Published in JavaScript in Plain English

·Oct 4, 2020

JavaScript Reduce: The Ultimate Iterator

I completely underestimated the power of Array.prototype.reduce() when I was first learning JavaScript. I didn’t totally understand how it worked, and so I wrote it off as nothing more than a convenient way to find the sum of an array’s elements. But now that I understand how reduce works, I…

JavaScript

4 min read

JavaScript Reduce: The Ultimate Iterator
JavaScript Reduce: The Ultimate Iterator
JavaScript

4 min read


Sep 28, 2020

Git Rebase vs. Merge

Before I worked on a large application with many other developers, I never put much thought into the git process. I learned the basic commands required to collaborate with one other person and push personal projects to Github. I had never heard of git rebase until a coworker suggested our…

Git

3 min read

Git Rebase vs. Merge
Git Rebase vs. Merge
Git

3 min read


Sep 21, 2020

Building A Chat Feature With ActionCable

I recently created a board game app using ActionCable in my Ruby on Rails API and ActionCable Provider for React in my front end to establish WebSocket connections between each client and my API. I ran into a lot of WebSocket trouble when trying to deploy this app to Heroku…

5 min read

5 min read


Sep 13, 2020

How To Style A File Input In React

Going in, I thought the hardest part of building the user interface for uploading a file would be the actual functionality of handling that file. With any other input in React, you can handle its value by controlling it, storing the value in a component’s state to be easily used…

HTML

3 min read

How To Style A File Input In React
How To Style A File Input In React
HTML

3 min read


Published in Level Up Coding

·Sep 4, 2020

JavaScript Dates: Building a Date Selector

This week, I had to construct a date selector form in React that looks like this: As you can see, the user interface includes the surrounding month and date options in addition to the selected date. This means that I need to not only keep track of the current date…

JavaScript

4 min read

JavaScript Date: Building a React Hook For Date Selector
JavaScript Date: Building a React Hook For Date Selector
JavaScript

4 min read

Mike Pottebaum

Mike Pottebaum

46 Followers

github.com/mpottebaum

Following
  • Trey Huffine

    Trey Huffine

  • Sunil Sandhu

    Sunil Sandhu

  • Alexandria Lalli

    Alexandria Lalli

  • Chamika Kasun

    Chamika Kasun

  • Robert J. Berger

    Robert J. Berger

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech