3 ms·
Our view system has been like this from day one, so not growing pains, but it's possible our documentation wasn't as comprehensive early on. > having templates
by chrismccord 10y ago
Our view system has been like this from day one, so not growing pains, but it's possible our documentation wasn't as comprehensive early on.
> having templates that precompile to render functions is pretty magical, tbh. would personally love it if the view documentation reflected this on some level.
You mean like in our nicely formatted ExDocs? :)
The docs walk you through similar examples as I've posted here, but go more in depth.
https://hexdocs.pm/phoenix/Phoenix.View.html https://hexdocs.pm/phoenix/Phoenix.View.html
- colbyh 10y agobad choice of words, I meant more of us growing to understand the framework. and since you've had to answer these sorts of questions before I def feel a little less crazy: http://www.jeramysingleton.com/phoenix-templates-are-just-functions/ http://www.jeramysingleton.com/phoenix-templates-are-just-fu... and thanks for keeping up work on the docs!