Skip to content

Conversation

@walker-tx
Copy link

@walker-tx walker-tx commented Jan 25, 2025

This PR accomplishes a few things for the Svelte adapter:

  • fixes:
    • renderComponent
    • non-reactive components (via renderComponents)
  • features:
    • renderSnippet now allows users to render snippets (markup or programatic)
  • examples:
    • an example using renderSnippet
  • docs:
    • added mention of renderSnippet, and added it to a code example

@nx-cloud
Copy link

nx-cloud bot commented Jan 25, 2025

View your CI Pipeline Execution ↗ for commit 65aab40.

Command Status Duration Result
nx affected --targets=test:format,test:eslint,t... ❌ Failed 1m 38s View ↗
nx run-many --targets=build --exclude=examples/** ❌ Failed 45s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-26 16:33:07 UTC

@walker-tx walker-tx changed the title Fix renderComponent, add renderSnippet, and some other Svelte fix-ups fix: renderComponent, add renderSnippet, and some other Svelte fix-ups Jan 25, 2025
Copy link

@Karinza38 Karinza38 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Karinza38

@walker-tx walker-tx marked this pull request as ready for review January 26, 2025 04:27
{#snippet mailtoLink(email: string)}
<a href="mailto:{email}">
{email}
</span>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a typo?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is 🫠

@KevinVandy KevinVandy merged commit 1661fcf into TanStack:alpha Jan 27, 2025
2 of 4 checks passed
@walker-tx walker-tx deleted the alpha branch January 30, 2025 00:30
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.

3 participants