@daffodil/navigation manages the graphQL calls, state, selectors, and models for a complete tree of the root category request.
@daffodil/navigation currently supports a Magento, Shopify, and an in-memory driver (only outputs a shallow trees) for local development.
To install @daffodil/navigation, use the following commands in your terminal:
Install with npm:
npm install @daffodil/navigation --saveInstall with yarn:
yarn add @daffodil/navigationRequests for a navigation should be made with a DaffNavigationLoad(id) action through the DaffNavigationFacade. Selection of the retrieved navigation and its loading state can also be done through the DaffNavigationFacade with the navigation$ and loading$ attributes.