随笔分类 - 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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文