Skip to content

experimental: override some tags with components#5210

Merged
TrySound merged 5 commits into
mainfrom
tag-overrides
May 19, 2025
Merged

experimental: override some tags with components#5210
TrySound merged 5 commits into
mainfrom
tag-overrides

Conversation

@TrySound
Copy link
Copy Markdown
Contributor

@TrySound TrySound commented May 16, 2025

Ref #3632

Remix client routing should still work even if we go full html. Here added tag overrides to component generator so sdk could pass component replacements for some tags like

  • body -> Body
  • a -> Link
  • form -> RemixForm

See example here https://github.com/webstudio-is/webstudio/pull/5210/files#diff-f2df0aea6543a33e57d770ff1791da886ab3dfd6dec37da4a41a611b9b13a19aR6

@TrySound TrySound requested a review from kof May 16, 2025 10:04
TrySound added 4 commits May 19, 2025 11:50
Ref #3632

Remix client routing should still work even if we go full html.
Here added tag overrides to component generator so sdk could pass
component replacements for some tags like

- body -> Body
- a -> Link
- form -> RemixForm
@TrySound TrySound merged commit c14238e into main May 19, 2025
17 checks passed
@TrySound TrySound deleted the tag-overrides branch May 19, 2025 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants