Skip to content

Uncaught TypeError: Cannot read properties of null (reading 'useEffect') #2017

Answered by connorlanigan
Devmond asked this question in Q&A
Discussion options

You must be logged in to vote

The error you mention likely happens because React is not available (useEffect is a function imported from React). You mentioned that you excluded React and ReactDOM from your bundle, I'd recommend that you keep them included in your bundle since Cloudscape depends on React.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Devmond
Comment options

Answer selected by just-boris
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants