Title: Programming Phoenix LiveView: Mount and Render the Product Index • 115
… let’s examine the socket assigns now. Add the following
snippet to your index.html.eex template:…
Following along in phoenix 1.8.1 there was no index.html.eex template generated, instead there was a render/1 function. If this was by design to get the reader to understand that render overrides the presence of a separate file then that’s a nice thing to do but it may need to be made clearer about the “task” the reader has to do.
Also, should the file be a heex file (index.html.eex) and not an eex file?