Hi, I just started with Phoenix/Elixir last month.
I hit a weird problem recently, which I eventually solved, but it took quite some time. In my app, somehow no events (like phx-submit, phx-click) were emitted at all. After a long search, it appeared I had an extra
</div> in a template header somewhere. Removing that
</div>solved the problem of the events.
I was quite puzzled because I fail to see why one would lead to the other. But I also wondered why this syntax issue was nowhere visible, at least I did not see the compiler complain about it.
Are such syntax errors reported somewhere or can I enable that somehow?
Edit: added backticks to show
<\div> in my post.