The fact that this reducer is so limiting induces using bad development patterns when it comes to custom Volto navigation components. Developers will avoid to enhance the @navigation endpoint, for example, to pass extra information from the items, via extra behavior fields.
The fact that this reducer is so limiting induces using bad development patterns when it comes to custom Volto navigation components. Developers will avoid to enhance the
@navigation
endpoint, for example, to pass extra information from the items, via extra behavior fields.https://github.com/plone/volto/blob/4e5d508d97f438315b3477d166e26d42797875af/packages/volto/src/reducers/navigation/navigation.js#L33-L37