Closed andrewgaun closed 4 months ago
Good catch, we didn't have code to prevent circles in those packages, only in InstantSearch.js apparently. I just fixed the circular dependency and ensured we can't accidentally add the loop later in https://github.com/algolia/instantsearch/pull/6294
This will be released when we next do a release, thanks
🐛 Current behavior
Found a circular dependency in your dist code when rolling up a project.
🔍 Steps to reproduce
1)
npm install react-instantsearch
2) create a js file withimport * from 'react-instantsearch'
3) compile with rollupLive reproduction
N/A
💭 Expected behavior
The code would ideally not have a circular dependency. I believe if the imports in getServerState.js were updated to point directly to the composites, this issue would be resolved.
^ Not sure if this is valid but figure it is something along these lines :)
Package version
react-instantsearch-core 7.12.2
Operating system
No response
Browser
No response
Code of Conduct