This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat(InfiniteHits): support cache #804
feat(InfiniteHits): support cache #804
Changes from 1 commit
147e711
3eb7706
b85f29d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we reexport
createInfiniteHitsSessionStorageCache
fromvue-instantsearch
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's an interesting idea, but we don't do that for now for other things like router, I'm not sure if that can have a bundle size impact?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it'll have a bundle size impact but it's worth trying.
On a UX perspective, it doesn't make sense to import something from a library's dependency (you're not even aware that you use
instantsearch.js
when you usevue-instantsearch
).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's do it in a stacked PR? There's argument for exposing the connectors etc. too, so let's join that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess not in a stacked PR but a separate PR as in something like
chore: reexport things from IS.js...
If we're going to reexport stuff, then we'd better do them altogether with doc changes.
What do you think?