FITURE

If you can fight, fight.

React State Hook(setState) Not Work

Hey guys,You may was attracted to React new feature:  The Hooks. And just had a try with the latest react version:v16.7.0-alpha. But wait! when you was about to use the latest api:useS...[阅读全文]

react-router or react-router-dom?

最新版的React Router(v4)有以下几个发行包,可能从之前版本用过来的同学会有一些疑惑,我到底该用哪一个啊? react-router React Router 的核心公用组件和方法。具体如下: MemoryRouter Pr...[阅读全文]

React Component Lifecycle with react-router

It's important to understand which lifecycle hooks are going to be called on your route components to implement lots of different functionality in your app. The most common thing is fetching...[阅读全文]