Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

394 B
Raw Blame
// Enforce atomWithStorage to use at least 3 arguments
// This ensures the storage parameter is always explicitly provided
or {
  `atomWithStorage($arg1, $arg2)`,
  `atomWithStorage<$_>($arg1, $arg2)`
} where {
  register_diagnostic(span=$arg1, message="atomWithStorage requires at least 3 arguments (key, defaultValue, storage). Provide the storage parameter explicitly.", severity="error")
}