Alex Yang
Alex Yang
cannot be reproduced
maybe this could fix the bug https://github.com/toeverything/AFFiNE/pull/1144
I believe this bug has disappeared in the latest, closing
/cc @Yipei-Operation
> ## Workaround > For people looking for a temporary workaround, [the workaround posted above](https://github.com/cypress-io/cypress/issues/26308#issuecomment-1499724602) by @lmiller1990 worked for us too: > > Adding the following ([old, obsolete](https://github.com/typescript-eslint/typescript-eslint/issues/7185#issuecomment-1629792121)) `ts-node` options...
## Prototype 1 ```ts import { atom } from "jotai"; type FakeUser = { id: string name: string username: string email: string address: { street: string suite: string city: string...
## Prototype 2 ```ts function createModule ( name: string, createModule: (context: Context) => ( Atom | PrimitiveAtom | WritableAtom)[] ) { // todo } createModule('user', (context) => { const fetch...
```ts import type { Atom, PrimitiveAtom, WritableAtom } from "jotai"; import { atom, createStore } from "jotai"; type FakeUser = { id: string name: string username: string email: string address:...
This has been delayed since we do not have many atoms to be a module, but we put most of the state into `index.jotai.ts` in each component
AFFiNE is a local first app so we won't add built-in SSR in the `apps/core` code. However, We are going to use a separate SSR server like `apps/share` to only...