-
Updated
Jun 29, 2020 - TypeScript
#
react-like
Here are 21 public repositories matching this topic...
Open
Luy (React 16 以前) 架构
10
a tiny react help you understand react better
-
Updated
Apr 11, 2018 - JavaScript
Library to render your server-side templates using react-like components
-
Updated
Jan 19, 2019 - JavaScript
Micro and elegant frontend framework
-
Updated
Jul 22, 2019 - JavaScript
react
virtual-dom
components
preact
jsx
hyperscript
reactjs
web-components
js-library
inferno
javascript-library
vdom
react-like
vnode
powerjs
power-js
-
Updated
Mar 25, 2020 - JavaScript
-
Updated
Mar 13, 2020 - JavaScript
-
Updated
Apr 5, 2020 - JavaScript
Simple Todo app created with PowerJS
react
virtual-dom
components
preact
jsx
hyperscript
web-components
inferno
vdom
todoapp
react-like
powerjs
-
Updated
Nov 9, 2018 - CSS
A React Like JavaScript Library For Building User Interfaces.
-
Updated
Mar 15, 2020 - TypeScript
Created with CodeSandbox
-
Updated
May 11, 2018 - JavaScript
Trying to write PHP in React-like component style.
-
Updated
Sep 13, 2019 - PHP
Friendly util function for holding reference to element for react-like frameworks
-
Updated
Jun 9, 2018 - JavaScript
Lightweight React like library for building modern UIs. ⛄
-
Updated
Jun 6, 2020 - JavaScript
A react-like implementation of react core concepts.
-
Updated
Oct 25, 2018 - JavaScript
Improve this page
Add a description, image, and links to the react-like topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the react-like topic, visit your repo's landing page and select "manage topics."
Luy (React 16 以前) 架构
本文主要讲解、理清、复习 Luy 之前的架构,以方便在重构后和重构前的对比,内容较多,算是对自己的一个复习。
两个
createElement:一切的开始document.createElement
在几年前,React 其实用的并不是
document.createElement这个 API 去创建DOM节点,而是使用的 innerHTML 来创造 DOM 节点。换做这个的原因是因为document.createElement的速度远大于 innerHTML 这个东西。这一步的修改,给 React 带来了更大的性能提升。在官方博客中,我们可以看到了官方给出的答案。