Ever wanted to share some templates between your LiveViews and other static pages? Footers/headers/sidebars and such parts of a website can be shared. Here is something to help you. You can define a view like this: defmodule YourAppWeb.SharedView do ...
Counting relations without loading them