Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Themes: Render layout last in routing #1186

Closed
wants to merge 3 commits into from

Conversation

ehg
Copy link
Member

@ehg ehg commented Dec 2, 2015

PoC, don't merge :)

Play with rendering a single tree layout last. This allows us to have
one render tree.

  • For /design, render layout last, setting primary and secondary
    context props to the desired elements.
  • Edit sections loader to emit a callback when it's loaded the bundle,
    so we can add our last page handler last.

There's lots of duplication and funkiness, but hopefully it demonstrates
the idea.

Play with rendering a single tree layout last. This allows us to have
one render tree.

- For /design, render layout last, setting `primary` and `secondary`
  context props to the desired elements.
- Edit sections loader to emit a callback when it's loaded the bundle,
  so we can add our last page handler last.

There's lots of duplication and funkiness, but hopefully it demonstrates
the idea.
@ehg ehg self-assigned this Dec 2, 2015
@ehg ehg added this to the Themes: Showcase M3-LoggedOut milestone Dec 2, 2015
@ehg ehg mentioned this pull request Dec 14, 2015
@ehg ehg modified the milestones: Themes: Future, Themes: Showcase M3-LoggedOut Jan 8, 2016
@ockham
Copy link
Contributor

ockham commented Jan 28, 2016

Since rebasing this is quite an endeavor, I'll file a new PR for that so we can keep this one around in case I miss anything.

@ockham
Copy link
Contributor

ockham commented Jan 29, 2016

Closing now that #2896 is functional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature Group] Appearance & Themes Features related to the appearance of sites.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants