Skip to content

Best practices for managing data property names case (i.e. snake_case to camelCase) #5049

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

You must be logged in to vote

hits has transformItems that can be used to change the shape. The docs are available here: https://www.algolia.com/doc/api-reference/widgets/hits/js/#widget-param-transformitems

If you want more advanced grouping of the results or similar, you may want to use the connector connectHits

Is that what you were looking for @andreyvolokitin ?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@andreyvolokitin
Comment options

@andreyvolokitin
Comment options

@Haroenv
Comment options

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