News for hackers. Stuff that matters.
Re:How we got to LiveView by dnautics on Thursday September 23, 2021 @09:26AM (#28628774)
Point is, they are just plugs. You can put routes in an endpoint, it'll work just fine. The distinction is just a -often useful- prescriptive opinion by Phoenix. (Plug does not split between endpoints and routers)
Re:How we got to LiveView by 0x000000001 on Thursday September 23, 2021 @10:56AM (#28630070)
very true, but the abstraction is pretty useful
Re:How we got to LiveView by dnautics on Thursday September 23, 2021 @12:13PM (#28631201)
it's useful if your project gets very large. It is a non-negligible cognitive cost when your project is very small and you are new to Elixir and Phoenix