Build your own Reactjs from scratch
Welcome to my blog post series on creating a React-like library to understand how React works internally. In this series, I’ll be sharing my experience of building a library that mimics the functionality of React and explaining how it works. React is a popular JavaScript library used for building user interfaces. It’s widely used in the industry and has a large community of developers contributing to its development. However, understanding how React works internally can be challenging, especially for beginners. That’s why I decided to create a React-like library from scratch to gain a better understanding of how React works under the hood. In this series, I’ll be sharing my experience of building this library and explaining the concepts behind it.
To run the examples and tests for this project, follow these steps:
- Change your current directory to the
/examples
folder:cd /examples npm i npm run dev
cd /react-like-library
npm i
npm run test
All series of blog post on creating react-like-library
Chapter 1: CreateRoot Function
=> chapter 1
Chapter 2: JSX to Plain Javascript
=> chapter 2
Chapter 3: JSX to Plain Javascript
=> chapter 2
Chapter 4: JSX to Plain Javascript
=> chapter 2
Chapter 5: JSX to Plain Javascript
=> chapter 2