Assigning class properties in Javascript
lessonDuration 1m 14sFree
Class properties can help you simplify your classes code. In this lesson we will see how to use class properties in javascript classes.
Browse
Find courses, lessons, articles, talks, and podcasts.
7,176 resources
Showing 3,481–3,504 · Page 146 of 299
lessonDuration 1m 14sFree
Class properties can help you simplify your classes code. In this lesson we will see how to use class properties in javascript classes.
lessonDuration 4m 5sFree
Learn how write a function that capitilizes words in the string from the scratch. We will use map array method, some native string functions and overall apply functional programming approach to solve this popular interview question.
lessonDuration 2m 3sFree
Storing all the links to each repo and codesandbox inside of a markdown file will make it much easier to track where every lesson lives. This lesson walks you through using a zsh function to write out your info to a playlist.md file.
lessonDuration 3m 37s
We will learn how to work with Lists using a variety of methods made available in the **dart:core** library. We will explore the top methods for working with List type collections. Learn more about Lists at https://api.dartlang.org/stable/2.2.0/dart-core/List-class.html
lessonDuration 1m 4sFree
ZSH allows you to write functions to wrap around common commands. These allow you to easiest invoke a number of lesson creation steps by only typing out the command.
lessonDuration 46sFree
Lessons often have common starting points. If you're going to make lessons in bulk, it helps to create templates so you don't waste time setting them up over and over.
lessonDuration 1m 7sFree
This first lesson shows off the workflow after automating all of the mundane tasks away. Throughout the playlist, we'll cover everything shown in this overview in more depth.
lessonDuration 29sFree
With Node.js installed, bootstrapping a react app is as simple as executing `create-react-app` with `npx`. No further downloads necessary.
lessonDuration 6m 30sFree
In this lesson, you'll learn how to deploy a serverless function using the Go runtime, connect it to an API endpoint, and interact with it from a React application.
lessonDuration 2m 27sFree
We explore primary keys in DynamoDB and their relation to partition keys and sort keys using the AWS console to insert items. Sort keys and uniqueness are used to introduce the concept of creating relationships between items which is what will enable us to build out single table designs in the advanced data modeling videos.
lessonDuration 1m 13sFree
In this lesson, we decide what markup should be rendered with ternary and logical operators inside our JSX. We want to control the shortlist title, and if there are no names in the `ShortList`, we don't want to render an empty `<ul>` tag in the DOM!
lessonDuration 2m 17sFree
We use the same set of data that we used in my filter lesson (https://egghead.io/lessons/javascript-filtering-through-an-array-of-countries-using-filter) to create an array of coordinates. We use the .reduce() method to create the data structure that we need here.
lessonDuration 46sFree
Welcome to this beginner friendly series on React. We'll start a new project from scratch with Create React App, and step by step, build a functional and relatively useful React app that lets you find inspiration on "baby names", with search and shortlisting functionality. Through the lessons, we'll cover an introduction to JSX, approach concepts like props, state, React hooks, "thinking in components", and embrace a progressive refactoring mindset. Once the app is complete, we'll look at how to reduce prop drilling with the use of the Context API, and we'll even create our own custom React hook!
lessonDuration 3m 35sFree
In this lesson, we approach the concept of "prop drilling" and see how it can lead to maintenance pitfalls. By leveraging the Context API, we implement a context provider for our "search" and "shortlist" states. We then access that context where needed via the `useContext` hook.
lessonDuration 4m 1sFree
In this lesson, we create a custom hook that wraps the `useContext` hook and returns its value, as well as more useful error messaging if a context provider is missing. This simple addition brings very elegant ergonomics to access context from any component.
lessonDuration 4m 46sFree
AWS Console is really useful but in vast majority of cases - we want to interact with our database programatically. In this lesson we're going to learn how to create a brand new AWS Lambda function in which we'll perform a `scan` operation on a DynamoDB table. There are quite a few topics that we'll cover: - creating a new AWS Lambda function - creating a brand new IAM Role with required permissions for Lambda function to read data from a DynamoDB table - creating an environment variable within the AWS Lambda Console to store the name of the DynamoDB table - using `AWS.DynamoDB.DocumentClient` API in order to call a `scan` operation on a DynamoDB table
lessonDuration 1m 13sFree
In this lesson, we smoothen the transitions between tabs by applying a `transition` modifier to our `x-show` directive. We see how we can ignore the leaving elements, and focus the animation on the entering elements. We tweak the transition duration and origin by chaining additional modifiers to our `x-show` directive.
lessonDuration 4m 10sFree
Using the [GitHub CLI](https://github.com/cli/cli) and a shell script, we will automate the process of monitoring pull requests in repositories we maintain. Specifically, open PRs we have created and those awaiting our review.
lessonDuration 2m 50sFree
Environment variables are a standard way to configure variables in your app based on the current environment (development, test, production). This lesson explores how to use environment variables specifically with Create React App, starting with the built in `NODE_ENV` variable, as well as how to create custom environment variables for your app.
lessonDuration 3m 26sFree
Parsing arguments in zsh functions can be a bit difficult to manage if you try and customize it for each new function. Luckily, that's where zparseopts comes in. zparseopts is a utility function which can parse out each of the arguments you define and store them inside of an associative array for easy access. This makes accessing arguments as easy as looking them up by name.
lessonDuration 3m 13sFree
Alfred is able to take your currently selected text and manipulate it in a variety of ways. You can even link it up to bash scripts which can grab data from other applications on your system. This lesson will walk you through generating a markdown link from the text you select and the currently open URL in Chrome. ```bash url=$(osascript -e 'tell application "Google Chrome" to return URL of active tab of front window') echo "[$1]($url)" ```
lessonDuration 3m 7sFree
Many people just drop all of their Zsh functions inside of their .zshrc and forget about it. But as your collection of functions begins to grow, you start looking for a better way to organize everything. Since Zsh provides `autoload` for loading in functions dynamically, we can drop all of our functions into individual files, loop through that directory, then autoload each file as a function.
lessonDuration 2m 19sFree
A common problem you'll run into when working inside of your terminal is the desire to rename the directory you're currently in. This is achieved in 3 steps: back out of the directory, `mv` to a new name, then back inside of it. Rather than 3 separate commands, let's take this down to a single command in a Zsh function. This lesson walks you through the process of creating a Zsh function to rename your current directory by using ${PWD##*/} to find the name of the directory your in then walking through the steps.
lessonDuration 2m 58sFree
In this lesson, you'll learn how to use npm packages to add functionality to your custom Github Action. We'll walk through installing the npm package Axios, using it to fetch a quote from a Futurama Character API, compiling our action to a single file, and updating our configuration to use our updated Action. [Futurama API](https://futuramaapi.herokuapp.com/)