-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
DSD. You know it. You want it. You love it. #763
Conversation
Your Render PR Server URL is https://bridgetown-beta-pr-763.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-chl8o9g2qv26h9ltgbc0. |
Your Render PR Server URL is https://bridgetown-api-pr-763.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-chl8o9g2qv26h9ltgbi0. |
@@ -523,6 +523,10 @@ def chomp_locale_suffix!(path, locale) | |||
end | |||
end | |||
|
|||
def dsd_tag(input) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do you feel about allowing the shadowrootmode
to be passed in?
def dsd_tag(shadow_root_mode: :open, input)
raise ArgumentError unless [:open, :closed].contains? shadow_root_mode
%(<template shadowrootmode="#{shadow_root_mode}">#{input}</template>).html_safe
end
Co-authored-by: Ayush Newatia <ayush@hey.com>
* Retool esbuild configuration and add islands architecture * Add bundled configuration for <is-land> * Also remove previously deprecated non-Zeitwerk plugin support * Fix some subtle Watcher bugs * Improve esbuild glob functionality * fix cucumber feature for assets * Add preliminary documentation for Islands
Update: this branch now also includes #765
Render DSD templates like a boss with the
dsd
helper / Liquid tag. 😎Also provides
dsd_style
helper to inline CSS inside of a DSD template.Todo: