-
## What happens?
render函数中使用getDvaApp
目前需求是,在render中使用接口请求,存储在dva中,接口请求成功后,调用getDvaApp有时为null,有时找得到,目前稳定浮现的场景是接口响应快时,可以获取到getDvaApp,接口响应慢(通过控制台调节网络速度),打印getDvaApp为null
## Mini Showcase Repo…
-
TSC with multiple targets
- esm
- cjs
- bundle?
inlcude src dir but not test files
include .d.ts
what do other similar projects output? preact/signals? jotai? recoil?
for our monorepo we probably…
-
- [x] Use the [Jotai v2 API](https://jotai.org/docs/guides/migrating-to-v2-api)
- Replace `scope` with `store` and context
- `await get()`
- `initialValues={[[countAtom, 1]]}` is replaced by …
-
使ってみる
-
our `@textea/json-viewer` is based on [mac-s-g/react-json-view](https://github.com/mac-s-g/react-json-view), which haven’t been maintained since about 2 years ago. Also, the way of writing a react com…
-
AC:
Add jotai lib
-
The following errors were reported by 5.1.0-dev.20230306, but not by 5.0.1-rc
[Pipeline that generated this bug](https://typescript.visualstudio.com/TypeScript/_build?definitionId=48)
[Logs for the pi…
-
When using the V2 API, the `queryClientAtom` can not be set. This is necessary, as the `initialValues` prop has been removed from the `Provider`.
Maybe it's too early for requesting this th…
-
## Summary
After the v2 launch, atomWithStorage by default gets its initial value from `baseAtom.onMount ()` method, making it breaking existing logic. This would be better be mentioned in the docu…
-
## Summary
I saw that `atomWithHash` from `next/utils` is depreciated, so I switched to `jotai-location`.
I am using a nextjs project, so as soon as I tested with `npm run dev` I see
> Refer…