-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collections rendering invalid items
variable
#90
Comments
Is the expected behavior that there should be no
|
The items can be passed in but they need to be destructured from the props |
"items" is supposed to be a variable resulting from useDataStore hook.
|
@cwoolum I thought we said that there would be no hard coded "items" (data for collection), so why would it come from properties? |
What I meant was that codegen will never hardcode an array of data. |
When rendering a collection, for some reason, it's trying to bind an
items
vairable without actually mapping it from props.The text was updated successfully, but these errors were encountered: