What it Takes to Make Your React Library More Maintainable

An introduction to maintainability in a React library.

Project Source Code

Get the project source code below, and follow along with the lesson material.

Download Project Source Code

To set up the project on your local machine, please follow the directions provided in the README.md file. If you run into any issues with running the project source code, then feel free to reach out to the author in the course's Discord channel.

This lesson preview is part of the Creating React Libraries from Scratch course and can be unlocked immediately with a \newline Pro subscription or a single-time purchase. Already have access to this course? Log in here.

This video is available to students only
Unlock This Course

Get unlimited access to Creating React Libraries from Scratch, plus 70+ \newline books, guides and courses with the \newline Pro subscription.

Thumbnail for the \newline course Creating React Libraries from Scratch

After creating our library, we'll be looking to other people to help add features, fix bugs, and answer requests. That's one of the great aspects of creating a library that people use. And of course, we may need some guidance for ourselves to ensure code quality. Think about a time you wrote a piece of code, forgot about it, came back months later and ever wondered, what is going on here? In this module, we'll look at different tools and techniques used in the JavaScript community to help us maintain bug-free quality libraries. First we'll look at TypeScript, which adds static typing to JavaScript. Just, which is a test runner that helps test our code. Yes, lent for code-lenting. Finally, lent stage, which will provide a git hooks to prevent bad commits.