A Developer's Blog

A Developer's Blog

Follow
homebadges

Shared templates between LiveView and static pages

May 6, 20212 min read

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....

Shared templates between LiveView and static pages

A use-case for virtual fields in Ecto

Apr 22, 20213 min read

Counting relations without loading them ยท Ever wanted to show a list of items along with the number of another related item, e.g. show a list of posts...

A use-case for virtual fields in Ecto