useWaffle
useWaffle(
__namedParameters):WaffleState
Defined in: packages/waffle/src/react/useWaffle.ts:62
The state a waffle needs: @data-profile/react’s useViews (the active view and the selected
category, with prop bundles for Legend and CategoryList) and the layout for them. Changing
view clears the selection. Invalid data comes back as error with an empty layout, rather than
throwing out of render.