Skip to content

SelectionProvider stores the entire elements in an array #2132

Open
@todo

Description

@todo

// TODO: SelectionProvider stores the entire elements in an array
// instead of just their ids. This is not critical since we
// imagine that there are quite few elements.
// But an improvement would be to store only the ids.
const SelectionProvider = ({ children }) => {
const [isSelectionModeActive, setIsSelectionModeActive] = useState(false)


This issue was generated by todo based on a TODO comment in 79c5070 when #2130 was merged. cc @cozy.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions