随笔分类 -  preact

摘要:Redux is one of the most popular state-management libraries and although not specific to React, it is widely used with it. This is why the author of P 阅读全文
posted @ 2017-06-21 23:48 Zhentiw 阅读(614) 评论(0) 推荐(0) 编辑
摘要:React-router is the community favourite routing solution - it can handle all of your complex routing needs and in this lesson we’ll cover what’s neede 阅读全文
posted @ 2017-06-20 15:14 Zhentiw 阅读(441) 评论(0) 推荐(0) 编辑
摘要:Some applications only need a very minimal routing solution. This lesson will cover a practical example showing the router in use. We’ll build a simpl 阅读全文
posted @ 2017-06-18 02:34 Zhentiw 阅读(473) 评论(0) 推荐(0) 编辑
摘要:Not every app is greenfield, and it would be a shame if existing React apps could not benefit from the micro-size of Preact. In this lesson we’ll disc 阅读全文
posted @ 2017-06-18 00:07 Zhentiw 阅读(275) 评论(0) 推荐(0) 编辑
摘要:Storing and updating values inside a component’s local state (known as controlled components) is such a common pattern that Preact offers a really han 阅读全文
posted @ 2017-06-17 22:25 Zhentiw 阅读(220) 评论(0) 推荐(0) 编辑
摘要:Preact offers, in addition to the regular component API from React, the ability to access both props & state as function parameters to the render meth 阅读全文
posted @ 2017-06-17 22:01 Zhentiw 阅读(267) 评论(0) 推荐(0) 编辑
摘要:By creating a simple ‘hello world’ example application first in vanilla Javascript, and then in Preact without any tools, we’ll learn what type of pro 阅读全文
posted @ 2017-06-16 04:04 Zhentiw 阅读(242) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示