Skip to content

Leptos feature wiring cleanup - #4

Open
steveej wants to merge 1 commit into
cloud-shuttle:mainfrom
steveej-forks:fix/leptos-features
Open

Leptos feature wiring cleanup#4
steveej wants to merge 1 commit into
cloud-shuttle:mainfrom
steveej-forks:fix/leptos-features

Conversation

@steveej

@steveej steveej commented Dec 30, 2025

Copy link
Copy Markdown

Summary

  • Stop forcing leptos/ssr + leptos/csr in workspace dependencies
  • Add explicit csr features to radix-leptos crates

Motivation

  • Prevent hydrate builds from pulling in SSR
  • Let downstreams pick SSR/hydrate/CSR explicitly

Usage

radix-leptos = { version = "0.9.0", default-features = false, features = ["csr"] }
# or
radix-leptos = { version = "0.9.0", default-features = false, features = ["hydrate"] }
# or
radix-leptos = { version = "0.9.0", default-features = false, features = ["ssr"] }

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Performance improvement
  • Refactoring (no functional changes)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

  • Unit tests
  • Integration tests
  • Manual testing in browser
  • Accessibility testing

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Screenshots (if applicable)

Add screenshots to help explain your changes.

Additional Notes

Add any other context about the pull request here.

## Summary
- Stop forcing `leptos/ssr` + `leptos/csr` in workspace dependencies
- Add explicit `csr` features to radix-leptos crates

## Motivation
- Prevent hydrate builds from pulling in SSR
- Let downstreams pick SSR/hydrate/CSR explicitly

## Usage
```toml
radix-leptos = { version = "0.9.0", default-features = false, features = ["csr"] }
# or
radix-leptos = { version = "0.9.0", default-features = false, features = ["hydrate"] }
# or
radix-leptos = { version = "0.9.0", default-features = false, features = ["ssr"] }
```
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.

1 participant