Prevent unnecessary nesting in footer and header #12

Closed
opened 2021-04-16 01:28:22 +02:00 by FWDekker · 1 comment
Owner

Instead of putting the resulting header in #header, the caller should provide header and then put the returned contents in there.

Instead of putting the resulting header in `#header`, the caller should provide `header` and then put the returned contents in there.
FWDekker added the
enhancement
label 2021-04-16 01:28:22 +02:00
FWDekker self-assigned this 2021-04-16 01:28:22 +02:00
FWDekker added the
wontfix
label 2021-04-16 12:40:17 +02:00
Author
Owner

The nesting is mostly unsolvable because it's not really possible to replace an element. Additionally, I don't want the template to return more than one template because that's annoying, and the template has to return an element rather than a string because e.g. the nav is returned asynchronously before it is filled in.

The nesting is mostly unsolvable because it's not really possible to replace an element. Additionally, I don't want the template to return more than one template because that's annoying, and the template has to return an element rather than a string because e.g. the `nav` is returned asynchronously before it is filled in.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fwdekker.com/template#12
No description provided.