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
What you were expecting:
Both local dev and build success
What happened instead:
On both dev and build, receiving Attempted import error: 'useGetRecordRepresentation' is not exported from 'ra-core' (imported as 'useGetRecordRepresentation').
In local dev, I get additional info that this attempted import is occurring on ReferenceField, AutocompleteInput, and SelectInput in ra-ui-materialui
Steps to reproduce:
I do not see the issue on codesandbox.io fork, the main difference for us is we're using craco start and craco build as we utilize an alias feature for our importing. I am attempting a standalone sample app with craco to see if it's related to that or more global. Will update if I get that up and running with same error.
Environment
React-admin version: 4.3 (tested all 4.3.0, 4.3.1, and 4.3.2, all exhibit same behavior)
Last version that did not exhibit the issue (if applicable): 4.2.6
React version: 17.0.2
Browser:
Stack trace (in case of a JS error):
The text was updated successfully, but these errors were encountered:
Updating from 4.2.6 to 4.3.2
What you were expecting:
Both local dev and build success
What happened instead:
On both dev and build, receiving
Attempted import error: 'useGetRecordRepresentation' is not exported from 'ra-core' (imported as 'useGetRecordRepresentation').
In local dev, I get additional info that this attempted import is occurring on
ReferenceField
,AutocompleteInput
, andSelectInput
inra-ui-materialui
Steps to reproduce:
I do not see the issue on codesandbox.io fork, the main difference for us is we're using
craco start
andcraco build
as we utilize an alias feature for our importing. I am attempting a standalone sample app withcraco
to see if it's related to that or more global. Will update if I get that up and running with same error.Environment
The text was updated successfully, but these errors were encountered: