Make the init callback optional
Make the init callback optional: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). When constructing a Lawnchair instance with a synchronous adapter (e.g. localStorage), there's no real reason to pass a callback — the store is ready immediately. But right now Lawnchair refuses…
The task
When constructing a Lawnchair instance with a synchronous adapter (e.g. localStorage), there's no real reason to pass a callback — the store is ready immediately. But right now Lawnchair refuses to construct without one: So in practice a lot of code ends up looking like: …just…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.