Possible issue in the tutorial documentation. #785
-
I'm walking through the tutorial material in the docs. I'm looking at [this page]: (https://faustjs.org/docs/tutorial/first-react-component) "Finally, we'll create a list of posts by looping through the posts array and rendering a Post component for each post:" If I copypaste the code underneath that text into my-app/src/pages/posts.tsx, while the app is running then after I hit save I get this message in the browser:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @bobdobbs, make sure you have created the You'll also want to make sure you've setup TypeScript appropriately, as this is how the compiler knows the base path for "components/post". |
Beta Was this translation helpful? Give feedback.
Hey @bobdobbs,
make sure you have created the
post.tsx
component that lives incomponents/post
.You'll also want to make sure you've setup TypeScript appropriately, as this is how the compiler knows the base path for "components/post".