EdgeJS Components

EdgeJS Components

25 Lessons
1h 42m

In this series, we'll take a deep dive into EdgeJS Components by creating our own reusable components from the PinesUI component library, built with TailwindCSS and ApineJS.

Module 1 › Getting Started (4 lessons)

Video preview
exploring edgejs-components
EdgeJS Components #1.0
・
Oct 21, 23

Exploring EdgeJS' Component System

In this lesson, we'll walk through a high-level overview of this series' objectives, including the various components we'll build throughout this series.

Video preview
Installing AlpineJS and TailwindCSS
EdgeJS Components #1.1
・
Oct 21, 23

Getting Started, Installing AlpineJS and TailwindCSS

In this lesson, we'll quickly create a new AdonisJS 5 project to house our components. Then, we'll install the dependencies needed by PinesUI; AlpineJS and TailwindCSS.

Video preview
Structure and Component Layouts
EdgeJS Components #1.2
・
Oct 21, 23

View Structure and Component-Based Layouts

In this lesson, we'll get our view and component structures set up. Then, we'll take an abnormal approach and cover how to use components for your layouts.

Video preview
Adocasts Plus Exclusive
Exclusive
Dynamic Demo Routes
EdgeJS Components #1.3
・
Oct 21, 23

Dynamic Demo Routes for Components

In this lesson, we'll set up a dynamic route, which will be used to serve demos of the various components we'll be building.

Module 2 › Components Overview (5 lessons)

Video preview
Adocasts Plus Exclusive
Exclusive
A Look at Component Reactivity
EdgeJS Components #2.0
・
Oct 29, 23

A Look At Component Reactivity

In this lesson, we'll take a look at how we'll approach reactivity within our EdgeJS components using AlpineJS. We'll also briefly discuss where the line between EdgeJS and AlpineJS is, in terms of our component state and reactivity.

Video preview
Adocasts Plus Exclusive
Exclusive
EdgeJS and AlpineJS State
EdgeJS Components #2.1
・
Oct 29, 23

Component State & Passing State from EdgeJS to ApineJS

In this lesson, we'll take a look at how we can define and manage state within EdgeJS Components. We'll also learn how we can pass single properties or full objects from EdgeJS to AlpineJS and our client-side scripts.

Video preview
Adocasts Plus Exclusive
Exclusive
Component Props & Default State
EdgeJS Components #2.2
・
Oct 29, 23

Component Props and Default State

In this lesson, we'll learn how about props and how props and state interact within EdgeJS Components. We'll also take a look at how we can default default state values for our components.

Video preview
Adocasts Plus Exclusive
Exclusive
Serialize Props as Attributes
EdgeJS Components #2.3
・
Nov 06, 23

Serializing Props as Element Attributes

In this lesson, we'll learn about EdgeJS' serialize only and serialize except utility methods, which allow us to directly serialize key-value pairs from our props as element attributes within our components.

Video preview
Adocasts Plus Exclusive
Exclusive
Main Slot, Named Slots, and Slot Scope
EdgeJS Components #2.4
・
Nov 06, 23

Main Slot, Named Slots, and Slot Scopes

In this lesson, we'll learn all about the main slot, how to define and use named slots, as well as passing state information from within our components to our slots using slot scopes.

Module 3 › Button Component (5 lessons)

Video preview
Adocasts Plus Exclusive
Exclusive
Base Button
EdgeJS Components #3.0
・
Nov 13, 23

Creating Our Base Button

In this lesson, we'll create our base button component which al our other button styles will derive from. It'll be in charge of building our classes, adding interactivity, and more.

Video preview
Adocasts Plus Exclusive
Exclusive
Adding Interactivity to our Button
EdgeJS Components #3.1
・
Nov 13, 23

Adding Interactivity to our Button

In this lesson, we'll add extendable interactivity to our button using AlpineJS. We'll also walk through a demonstration of how we can utilize event propagation in AlpineJS to our advantage.

Video preview
Adocasts Plus Exclusive
Exclusive
Adding Button Sizes
EdgeJS Components #3.2
・
Nov 20, 23

Adding Button Size Options

In this lesson, we'll add four size options to our base button large, base, small, and extra small. These sizes will then automatically be available as we add our button variants and styles.

Video preview
Adocasts Plus Exclusive
Exclusive
Adding Button Variants
EdgeJS Components #3.3
・
Nov 20, 23

Adding Button Variants

In this lesson, we'll add variant options for our base button. These will provide light and dark options as well as stateful coloring blue, green, red, and yellow.

Video preview
Adocasts Plus Exclusive
Exclusive
Button Inverse and Outline Styles
EdgeJS Components #3.4
・
Nov 20, 23

Adding Button Inverse and Outline Styles

In this lesson, we'll add two new button style options, inverse and outline. Both styles will extend off the work we did with our base button to keep all functionality in one concise location

Module 4 › Alert Component (5 lessons)

Video preview
Adocasts Plus Exclusive
Exclusive
Creating Our Base alert
EdgeJS Components #4.0
・
Dec 04, 23

Creating Our Base Alert

In this lesson, we'll create our base alert to serve as our building block for our content, variant, and style options. We'll also fix a pseudo-selector issue.

Video preview
Adocasts Plus Exclusive
Exclusive
Adding Alert Variants
EdgeJS Components #4.1
・
Dec 04, 23

Adding Alert Variants

In this lesson, we'll focus on adding a light, dark, blue, green, red, and yellow variant option to our base alert.

Video preview
Adocasts Plus Exclusive
Exclusive
Adding Conditional Content
EdgeJS Components #4.2
・
Dec 04, 23

Adding Conditional Icon, Headline, and Message Content

In this lesson, we'll make our alert's icon, headline, and message completely optional. We'll also allow our icon to be provided via slot and our headline and message via prop or slot.

Video preview
Adocasts Plus Exclusive
Exclusive
Inverse Style & Cascading Slots
EdgeJS Components #4.3
・
Dec 11, 23

Inverse Alert Style & Cascading Slots

In this lesson, we'll add our alert's inverse styling by extending our base alert. We'll also see how to cascade slots passed into our inverse alert to our extended base alert.

Video preview
Adocasts Plus Exclusive
Exclusive
Self-Destruct & Dismissible Alerts
EdgeJS Components #4.4
・
Dec 11, 23

Dismissible & Self Destructing Alerts

In this lesson, we'll focus on adding interactivity to our alerts by making them both conditionally dismissible and self-destructable.

Module 5 › Accordion Component (3 lessons)

Video preview
Adocasts Plus Exclusive
Exclusive
Starting Our Accordion
EdgeJS Components #5.0
・
Jan 07

Starting Our Accordion

In this lesson, we'll start our accordion component and gain an understanding of how to handle uniquely identifying components that may appear multiple times on a single page via the AlpineJS magic id utility.

Video preview
Adocasts Plus Exclusive
Exclusive
Identifying Accordion Items
EdgeJS Components #5.1
・
Jan 07

Identifying Accordion Items

In this lesson, we'll add the ability to have more than one item on a given accordion by creating a new accordion item component.

Video preview
Adocasts Plus Exclusive
Exclusive
Accordion Variant Options
EdgeJS Components #5.2
・
Jan 07

Bordered, Active Bordered, and Plain Variants

In this lesson, we'll split out three different variants from the accordion item we made in the last lesson. We'll create bordered, active bordered, and plain accordion items.

Module 6 › Form Component (3 lessons)

Video preview
Adocasts Plus Exclusive
Exclusive
Form Utility Component
EdgeJS Components #6.0
・
Jan 14

Form Utility Component

In this lesson, we'll start a form utility component. This component will allow us to create one central location where we can maintain our forms and provide additional functionality like simplified method spoofing.

Video preview
Adocasts Plus Exclusive
Exclusive
Form Component Method Spoofing
EdgeJS Components #6.1
・
Jan 14

Form Component Method Spoofing

In this lesson, we'll add simplified HTTP Method Spoofing functionality to our base form component. With this simplified functionality all we'll need to do is specify the desired HTTP Method to the method prop and it'll add it to our URL.

Video preview
Adocasts Plus Exclusive
Exclusive
Form HTTP Method Components
EdgeJS Components #6.2
・
Jan 14

Form HTTP Method Components

In this lesson, we'll create helper HTTP Method form components, further simplifying our method spoofing by allowing us to just chain the desired method off our form component.

excited robot

More in the works!

Add to your watchlist to get notified when new lessons are added

Sign in or sign up to add to your watchlist