epicweb-dev / full-stack-foundations

Learn the foundational skills of building full stack web applications.
https://epicweb.dev/workshops/full-stack-foundations
Other
586 stars 152 forks source link

Update example to match `meta` function attr name #59

Closed d4vsanchez closed 10 months ago

d4vsanchez commented 10 months ago

In "06. Search Engine Optimization / Intro" the text shows an example of how we can bring dynamic values from the loader function by receiving the data through the loaderData parameter.

The real name of the parameter, based on "06. Search Engine Optimization / 03. Dynamic meta export", and the Remix docs, is data.

This change updates the parameter in the README.mdx file to match the real name, so people don't end up confused after reading the Intro and seeing a different value come up in an exercise later on.