You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
If we do import pure from 'recompose/pure', no flow types are included. Would it be possible to place the flow types alongside each helper file, rather than in one index.js.flow file?
The text was updated successfully, but these errors were encountered:
@Leeds-eBooks Currently we allow both ways to use recompose with named exports and with path imports. main entry point is referenced to cjs bundle, module to esm one. Using path import forces us to choose explicitly which format we would like to use. This may lead to the duplicating problem when one project uses both ways.
To fix this we specify bundles in main and module fields. Then bundler will choose what is may consume without additional configuration and inconsistencies.
So for now we recommend to use named exports for better readability, consistency and small size.
Refers to this PR: #649
If we do
import pure from 'recompose/pure'
, no flow types are included. Would it be possible to place the flow types alongside each helper file, rather than in oneindex.js.flow
file?The text was updated successfully, but these errors were encountered: