3 WordsWords from the book Foundation by Isaac Asimov
7 WordsFrom her book, ‘you think it I’ll say it’
LessonInstructions on how to delete the git history from a project and then upload without the history.
LessonRemove a file from git but not the local machine.
LessonSave the current version of git for future reference in a new branch, revert to an older git copy. Also information on creating and checking out a branch, merging branches, and handling a merge conflict.
LessonBuild a password strength meter based on zxcvbn password checker.
LessonI recently added a contact form to my Power Todos app, these are my notes on how I achieved setup this form using Google's ReCaptcha and the react-google-recaptcha package.
LessongetDerivedStateFromProps is a static method, which means it does not have access to the 'this' keyword, so how then do you update the state?
LessonWhen interviewing for a react javascript job, these are some questions other programmers have encountered in job interviews. Side effects, functional programming, component lifecycles, state, props, inheritance, composition.
LessonCommands for using postgres on heroku's server. See source link for all the commands you can run for postgres on heroku.
LessonServer robots.txt file, certbot verifcation file, or other plain html or other pages using this React Router trick...
LessonLamda functions served up using Amazon's AWS server using the lambda functions module allow you to host simple functions and pay only when those functions are called. Uses npm install serverless
LessonWithout using the redux-persist plugin we can easily use localStorage to persist the redux store, or even just parts of the store.
LessonLearn about Redis installation, commands for storing and getting data types: strings, hashes, lists, sets, sorted sets.
LessonWhen you run more than one container in Docker you use the Docker Compose tool to build and connect all the different containers. In this case we will use postgres and explain how to extend the postgres Dockerfile image. Add seed folder to have mock data already included in the database.
LessonBasic Dockerfile setup and Docker commands. Docker Compose. Use proper docker commands to create containers from Image files or use Docker Compose to create containers from docker-compose.yml file.
LessonWhen joining a new project or a new team you will need to analyze new codebases and familiarize yourself with the project. This is a typical workflow for getting started on a new project in javascript or node.
LessonWe use a package called dotenv to protect variables like username, passwords and api keys on the backend in express, and also on the frontend with React to save things that might be repeated like the website URL in api calls.
LessonA logger middleware for node/express will save data about every api request and log it so that developers can see exactly what happened with the request.
LessonWhen a user logs out we want to clear all state. But state may be present in different reducers, so how do we clear all of the different state properties?
Quote"127.0.0.1 Sweet 127.0.0.1" - Jamie Miller
LessonBy running npm create-react-app a ton of stuff happens behind the scenes.
LessonUnderstanding how Javascript stores variable values in memory will help you produce code that uses less memory. In React, we can use this memory to understand when we should create stored functions, rather than arrow functions that need to be recreated with each render.
LessonThunk vs Saga vs Observable/RxJs vs Promise Middleware.