Investigate possibility of merging @itwin/presentation-hierarchies and @itwin/presentation-hierarchies-react packages into single @itwin/presentation-hierarchies package. API could be grouped by export paths into:
/core - hierarchy building APIs
/react - react state management and utilities APIs
/react/stratakit - StrataKit based components to render hierarchy.
react and stratakit could be specified as optional peer dependencies and would be required for consumer to install only when UI part is used.
Possible problems:
- How to handle dependencies that re needed only for UI part?
Investigate possibility of merging
@itwin/presentation-hierarchiesand@itwin/presentation-hierarchies-reactpackages into single@itwin/presentation-hierarchiespackage. API could be grouped by export paths into:/core- hierarchy building APIs/react- react state management and utilities APIs/react/stratakit- StrataKit based components to render hierarchy.reactandstratakitcould be specified as optional peer dependencies and would be required for consumer to install only when UI part is used.Possible problems: