Better function component tests with ~H
There are 2 ways to test Phoenix function components:
- render_component/3
- rendered_to_string/1 + ~H sigil
Use the second one every time!
So much nicer ergonomics ✨and allows us to test more complex components (e.g. with slots). 🎉