Skip to content

How to make initialUiState work with stateMapping? #5350

Answered by Haroenv
landermedia asked this question in Q&A
Discussion options

You must be logged in to vote

Both routing and initialUiState act on the same key of data. We indeed should have some kind of warning or error when they overlap and only one of the two is taken in account.

Can you explain further what your use case of the initial query is that couldn't be derived from the URL?

Replies: 0 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@landermedia
Comment options

@Haroenv
Comment options

@landermedia
Comment options

@Haroenv
Comment options

Answer selected by FabienMotte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Library: React InstantSearch ≥ 7 Issues in any of the react-instantsearch@7 packages (formerly named react-instantsearch-hooks)
2 participants