Hello! Thank you so much for your feedback, we really appreciate it
Let’s go through it one thing as a time:
The generated iex result below should list products instead of product for the metadata. (page 67)
You are totally right! You’ll find this fixed in the next Beta release. Thanks for pointing it out
The mount/3 function that is generated is different from the one used in the example, this might be confusing if you are familiar with the way pipes are used in Elixir. (Page 87)
Good catch! In fact this code snippet does change the way the generated mount/3
function calls assign
in order to add the products to the socket. You’ll find this updated for clarity in the next Beta release.
Actually we have already seen this exact code 2 pages earlier, starting on page 96.
Suggestion: introduce the repeated code with: “Here’s the line of code that calls the modal component from the index template again :”
Yep you are right that we’ve shown you this code snippet already. I’ll add some language to clarify that in the next release.
Should be “… which it does here:”
Nice catch! Will fix in the next release.
It is unclear what the :component_key is.
The :component
key points to a value of the component that will be rendered in the modal–FormComponent
. I’ll add some language to clarify this but we also go into greater detail just a bit further on in the chapter.
Thanks again!