Welcome to
Creating React Libraries from Scratch
Course Syllabus and Content
Introduction
2 Lessons 4 Minutes
An introduction to the course.
Get the required tooling installed for developing our library.
Initialize
4 Lessons 18 Minutes
Setting up the files and directories needed to write a React library.
Introduction to project dependencies, devDependencies, and peerDependencies.
Installing dependencies for the Scroller library.
Setup Scroller using Git, create a new GitHub project, and how push code to GitHub.
Implement
3 Lessons 7 Minutes
Describe the implementation of Scroller.
Writing code for the Scroller library and exporting it for users.
Setup Storybook to view and test our code.
Deploy
4 Lessons 15 Minutes
Why do we need to bundle our code, and how can ESBuild help?
What are JS Modules, and how do they affect consumers of our code?
Updating ESBuild to export multiple JS module formats.
How to configure and deploy to a public npm repository.
Maintain
5 Lessons 19 Minutes
An introduction to maintainability in a React library.
Adding a type-system to JavaScript.
Testing our code through unit tests.
Code linting and ensuring code style.
Git hooks to prevent bad commits.
Summary
1 Lesson 34 Seconds
What we learned in Creating React Libraries from Scratch.