Chris Achard Profile picture
Teaching everything I know about software at; online instructor @eggheadio; podcast at; Building @meetingplace_io
Feb 3, 2021 β€’ 25 tweets β€’ 12 min read
πŸ”₯ Building a SaaS in a week

showing all the steps here πŸ‘‡ 1/

This is an experiment - it may go horribly, we'll see πŸ˜…

To push myself; show others how to build a SaaS

Live customer chat in Slack (kind of like what Intercom was originally)

Tech stack
Reach on Rails on Heroku; Stripe for payments
Dec 14, 2020 β€’ 13 tweets β€’ 6 min read
If you're using redux today, you should be using redux-toolkit

πŸ”₯ Learn redux-toolkit in 10 tweets πŸ‘‡ 1/10

Create a "store" with "configureStore"

A store holds all your data and the actions that change that data

Use a "Provider" component (like context) to give the store to all your components import { configureStore } from '@reduxjs/toolkit'; import { All your data and actions to update that data  Divided into
Oct 28, 2019 β€’ 12 tweets β€’ 5 min read
Confused by DNS Records? A, CNAME, ALIAS...

Me too 😬

Let's change that! (cheatsheet at the end)

πŸ”₯ DNS Record crash course for web developers πŸ‘‡ 1/10

To get to, your computer needs to know where on the Internet that server is

That means: it has to know what IP address to talk to

The way it finds out is the Domain Name System (DNS)
Oct 8, 2019 β€’ 12 tweets β€’ 4 min read
πŸ”₯ Intro to regex for web developers πŸ‘‡ 1/10

Regular expressions find parts of a string that match a pattern

In JS they're created in between forward slashes //, or with `new RegExp()`

and then used in methods like `match`, `test`, or `replace`

You can define the regex beforehand or directly when calling the method
Oct 3, 2019 β€’ 8 tweets β€’ 3 min read
A thread full of free resources for learning React πŸ‘‡ 1: First: the React docs are really great!

There's even a tutorial as part of the official docs, which walks you through building a tic-tac-toe game:…
Oct 1, 2019 β€’ 12 tweets β€’ 4 min read
Ok; it's #redux time:

(code link at the end)

πŸ”₯ Learn Redux in 10 tweets - with React and hooks! 🎣 πŸ‘‡ 1/10

Redux gives you a central place to put your state (data) for JavaScript apps

It's most often used with React (via react-redux)

This lets you access or change your state from ANY component in your tree
Sep 20, 2019 β€’ 12 tweets β€’ 4 min read
πŸ”₯ Learn React in 10 tweets (with hooks) πŸ‘‡ 1/10

How React Works:

- you display data on a webpage
- a user interacts with it
- now the data changes...
- ...and you want the webpage to look different

React does that for you! πŸ’―
Sep 17, 2019 β€’ 12 tweets β€’ 4 min read
Have you heard about map, filter, and reduce, but never really understood them? πŸ€”

Here's a πŸ”₯ map().filter().reduce() πŸ”₯ crash course for you!

(sample code at the end)

THREAD πŸ‘‡ 1/10

`map`, `filter` and `reduce` can all operate independently, or be chained together

They operate on an *array* and *transform* it
Sep 9, 2019 β€’ 15 tweets β€’ 5 min read
Do you use #git but still don't really understand it?

Here's a πŸ”₯ git crash course πŸ”₯ to fix that πŸŽ‰

THREAD πŸ‘‡ 1/14

Git gives you a FULLY FEATURED repository on your local computer

This is different than other version control systems

Once you embrace that, you can start demystifying some of the git 'magic'
Sep 4, 2019 β€’ 13 tweets β€’ 6 min read
Want to write javascript like a sane person?

πŸ”₯ Here's a mini crash course just for you πŸ”₯

ES6+ can actually be FUN to write!

(code links at the end)

#javascript #webdev #js

THREAD πŸ‘‡ 1/12

var is dead. Don't use var. 😐

(why? lexical scoping)

If the variable will CHANGE, use `let`

If the variable WON'T change, use `const` Image
Aug 29, 2019 β€’ 10 tweets β€’ 4 min read
Want to learn hooks, but you've been too busy? ⏲

πŸ”₯ Here's a mini crash course just for you! πŸ”₯

(code links at the end)

#React #javascript

THREAD πŸ‘‡ 1/9

Add state to function components by calling `useState`

and pass in the initial value