I'm getting this error if I follow the example and add the key={blok._uid} attribute to the <main>, <div>, <ul> elements in the component files. If I remove this attribute everything works. The guide here doesn't explain the necessity of this attribute.
What's going on here?
Unexpected Server Error
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
I'm getting this error if I follow the example and add the
key={blok._uid}
attribute to the<main>
,<div>
,<ul>
elements in the component files. If I remove this attribute everything works. The guide here doesn't explain the necessity of this attribute.What's going on here?
My package.json looks like this:
I am using Typescript but that shouldn't cause this, right?