Closed chj-damon closed 3 years ago
简单的记法:atom 和 selector 在hook外用, 函数内用useRecoilValue/State 就相当于自己外面的 atom 取个别名 来修改下~需要 异步请求 就 就上异步的..
简单的记法:atom 和 selector 在hook外用, 函数内用useRecoilValue/State 就相当于自己外面的 atom 取个别名 来修改下~需要 异步请求 就 就上异步的..