My project uses TypeScript.
I am looking to build the AppMenu dynamically so the menu can include product brands based on the data in DB.
Are there type definitions for the types describing the data structures included in the Apollo?
I cannot see them in the zip file included with Apollo.
For example, useContext requires the default values o be supplied on instantiation.
Code: Select all
export const LayoutContext = React.createContext(layoutContextDefault);
Does this need to be raised as an issue on GitHub?
Many thanks,