background

Recently, I have been itching to build a wheel for fun. I have seen axios with TS version written by others, and found that many of the front end things really have hands.

Of course, the person who wants to write how is awesome, copy other people’s inspiration really have a hand on the line

So I wanted to make a React.

I looked it up. Two’s a good one

  • build-your-own-react
  • React Technology revealed

Build your own react, step by step.

The downside is it doesn’t go far enough.

React technology reveals directly in the source code of the point of interruption, in-depth is quite in-depth

Ha ha! I also used the original price to support the card teacher.

The downside is that when I first started watching it, I was a little confused.

You need to watch build-your-own-React before you get the whole idea.

Finally, there is a react: fre class written by Izar. It’s something with a high degree of completion.

I, for one, was bored and decided to write a TS version to practice TS

Build-your-own-react -> I write garbage (TS) -> fre -> card teacher -> source codeCopy the code

Large steel

  • The first part
    • Ts build-your-own-react and Gild the lily
  • The second part
    • Analyze the FRE
    • Move the code you built earlier closer to production
  • The third part
    • React source code say again

Table of Contents (draft)

  1. createElemnt && render