Skip to content

addWidget / removeWidget on index widget #4646

Answered by Haroenv
Spone asked this question in Ideas
Discussion options

You must be logged in to vote

Hi @Spone, we are planning to remove the addWidget & removeWidget from InstantSearch in the next major, which is why it wasn't added to the newer index feature.

Did you see the warning message on using addWidget that recommends using addWidgets (or do you only use the production build)?

I'd love to also hear why you prefer addWidget(widget) over addWidgets([widget]), maybe you have a different use case than we had in mind!

Thanks!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Spone
Comment options

Answer selected by Spone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
Library: InstantSearch.js Issues in instantsearch.js
2 participants