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

Feature: Server Only Components #989

Open
2 tasks
jdgamble555 opened this issue Mar 31, 2024 · 0 comments
Open
2 tasks

Feature: Server Only Components #989

jdgamble555 opened this issue Mar 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jdgamble555
Copy link

jdgamble555 commented Mar 31, 2024

Which scope/s are relevant/related to the feature request?

create-analog

Information

Hear me out. This would be amazing. Imagine creating the DOM on the server and rendering the HTML for non-interactive components. I doubt Angular will every go in this direction unless Solid and Svelte get on board one day (no idea). It would simplify hydration (you wouldn't need it), and make things beautiful.

I would think you start with just routes (think something like component.server.analog. Basically having a .server in the name makes it a server component. Later you could add client components inside the server component maybe.

This could be easier than it sounds if the complexity is not crazy.

Describe any alternatives/workarounds you're currently using

I would be willing to submit a PR to fix this issue

  • Yes
  • No
@jdgamble555 jdgamble555 added the enhancement New feature or request label Mar 31, 2024
@brandonroberts brandonroberts changed the title Server Components Feature: Server Only Components Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant