Git Product home page Git Product logo

react-interpretation's Introduction

React 源码解析

这是一份 Fork 的 React 代码,版本为 16.8.6。

笔者会对这份代码做一个详细的核心源码解析。通过两个部分来完成这个解析:第一是加上这份代码的中文注释,第二是配套相应的文章。

你可以通过阅读我的 Commit 信息来了解到我是如何阅读这份代码的。

PS:不会对任何 DEV 环境下的代码做解读,类似以下代码:

if (__DEV__) {
	// ...
}

文章链接

需要注意一点:文章的风格分为了两部分。 从调度原理开始,笔者抛弃了单纯讲源码的方式。而是将重点放在了原理上,尽可能地脱离源码讲原理,这种方式能更快更好地让读者学习到知识。

线上阅读地址

Github 的阅读体验稍显逊色,你可以选择在我的网站上阅读。

一起学习

觉得内容有帮助可以关注下我的公众号 「前端真好玩」或者加入 React 源码交流群。

react-interpretation's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.