Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

State

FiftyOne App state APIs

Usage

This package can be used in the following contexts

  • internal - for interacting with the app state within the core app modules
  • external - for interacting with the state of an embedded app aka the <Dataset /> component
  • plugin - for interacting with app state in your plugin

Types

The API assumes you are running in one of the contexts listed above, which requires the ability to interact with the following types of objects.

Recoil

  • Atom
  • Selector
  • SelectorFamily

React Hooks

Custom hooks following similar patterns to the following:

  • useEffect
  • useState
  • useCallback