Closed jdeisenberg closed 8 years ago
Thanks, I'll fix this next time I'm updating the docs.
Actually, I think this is fine as-is. This is a small context-less snippet, and the surrounding prose clearly indicates that the render
function belongs in the quiescent.core
namespace.
If I changed this snippet, I would want to change all the snippets in the examples to use namespaces pervasively, and I think that would hurt their clarity.
Thanks for the feedback, though! I'll keep this in mind for future documentation, to avoid this type of confusion as best I can.
At
quiescent/docs.md
in the section titled "Rendering", this codeShould be
Also, for consistency, the preceding section's
defcomponent
should beq/defcomponent