Tagged in

Redux

Frochu
Frochu
Frochu — Frontend Ochu ,程式碼的黑手,親手實作的前端知識推動者
More information
Followers
645
More, on Medium

讓你的Action能作更多 — Redux-Thunk

延續著自己寫的Redux Middleware大略架構,接下來要來介紹Redux-Thunk。本篇除了介紹Redux-Thunk在作些什麼外,也希望能稍微review React-Thunk中的原始碼(因為很短?)。

首先,何謂thunk?問問維基百科吧!

In computer programming, a thunk is a subroutine that is created, often automatically, to assist a call to another…

React app中常見的跨站攻擊漏洞

本篇為譯文,原文出自https://goo.gl/VFvzs9,作者為Em Smith

多虧了Isomorphic Rendering,讓開發者們很容易收到React的吸引。這裡的Isomorphic Rendering 是指能直接在server-side渲染出你的網頁,並將產生的結果html送到client,此功能可讓client不需要重新渲染整個頁面就能夠達到你期望的互動效果。(譯按:可參考 一看就懂的 React Server Rendering(Isomorphic JavaScript)入門教學