Skip to content

Instantly share code, notes, and snippets.

@PaulieScanlon
Created April 16, 2024 21:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PaulieScanlon/e59d0284a5d765a6a1df1ba5e139cbfa to your computer and use it in GitHub Desktop.
Save PaulieScanlon/e59d0284a5d765a6a1df1ba5e139cbfa to your computer and use it in GitHub Desktop.
Example of Signal Object
import { SignalObject } from 'signal-utils/object';
let obj = new SignalObject({
isLoading: true,
error: null,
result: null,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment