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
BUG:
Attempt to build a rescript-relay project using Parcel results in the following error:
@parcel/core: Failed to resolve
'react-relay/lib/relay-hooks/useBlockingPaginationFragment' from
'./node_modules/rescript-relay/src/RescriptRelay_Fragment.bs.js'
CAUSE:
As of react-relay v16.2.0, a handful of hooks have been moved into a legacy folder in preparation for "the full rollout of the new hooks implementation" (see commit here), including FragmentResource.js, useBlockingPaginationFragment.js, useFragmentNode.js, and useRefetchableFragmentNode.js. As such, rescript-relay's attempt to import fails.
BUG:
Attempt to build a
rescript-relay
project using Parcel results in the following error:CAUSE:
As of react-relay v16.2.0, a handful of hooks have been moved into a
legacy
folder in preparation for "the full rollout of the new hooks implementation" (see commit here), includingFragmentResource.js
,useBlockingPaginationFragment.js
,useFragmentNode.js
, anduseRefetchableFragmentNode.js
. As such,rescript-relay
's attempt to import fails.DEPS:
The text was updated successfully, but these errors were encountered: