dwyl / dwyl/phoenix-liveview-counter-tutorial

Learn Liveview

Open
#223 2 comments 5 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
421
Forks
42
Avg merge
2d 4h
Merged PRs (30d)
9

Description

I am adding a link to a site that - upon me - explains LiveView very nicely.
The best I've seen so far. Worth reading and keeping.

For example, it explains clearly [how to use these "slots" in functional components](https://adopt-liveview.lubien.dev/guides/multiple-slots/en).

The GitHub repo shows also how to:
- add sitemaps (with [:sitemapper](https://hexdocs.pm/sitemapper/Sitemapper.html),
- add SEO friendly metadata
and

Maybe only missing "advanced" concepts like streams and async assigns.

For the **async assigns** with slots, I recommend to check [this repo](https://github.com/ambareesha7/lv_ui/blob/main/lib/lv_ui_web/live/pdf/pdf_live.ex).
It is a companion to this video:
In this video, we does a simple async task is to generate a [typst](https://typst.app/docs/tutorial/writing-in-typst/) file from your data and render it. It is a nice printable document that you can download and print.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.