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

Make it easy for Roda routes to render "callable" objects #892

Merged
merged 2 commits into from
May 4, 2024

Conversation

jaredcwhite
Copy link
Member

@jaredcwhite jaredcwhite commented May 2, 2024

Some cleanup and enhancements made possible by utilizing Roda's custom_block_results plugin more effectively…including even letting you return components as route results. There's some more cleanup I want to do that will enable #561 as well. This is also the start of a new evaluation of places in the framework where we can leverage the "callable" object pattern.

Oh yeah, also added in a site alias so no more having to remember bridgetown_site in Roda routes. Hurray!

Copy link

render bot commented May 2, 2024

Copy link

render bot commented May 2, 2024

@jaredcwhite jaredcwhite added the SSR Dynamic rendering of Bridgetown pages label May 2, 2024
@jaredcwhite jaredcwhite added this to the 2.0 milestone May 2, 2024
@jaredcwhite jaredcwhite merged commit 9015c29 into main May 4, 2024
3 checks passed
@jaredcwhite jaredcwhite deleted the callables branch May 4, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SSR Dynamic rendering of Bridgetown pages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant