Server Side Rendering
Preparing the project
import { IConfig } from 'overmind'
import { state } from './state'
export const config = {
state
}
declare module 'overmind' {
interface Config extends IConfig<typeof config> {}
}import { createOvermind } from 'overmind'
import { config } from './overmind'
const overmind = createOvermind(config)Preparing effects
Rendering on the server
Rehydrate on the client
OnInitialize
Last updated