Navigation-next views and customized getItems()




I’m using Atlaskit mk-2 React library and its navigation-next module. I’ve seen a lot of example in the doc, but none of them demonstrate how to customise the getItem() function to adapt a container view based - for example - on the content of the current route or the current project you’re in.
I’ve seen this in the doc :

If you’re trying to create a stateful view, either control the state externally and pass arguments to the getItems function, or use a custom item in the view which manages some internal state.

But all samples only render “static” navigation views and I’m fighting to use it the best possible way (so i’m not using reducer cause the doc say it’s not the best way to “stateful” the views).

Any advices ?