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

unroll values like uland does #2

Closed
5 tasks done
WebReflection opened this issue Jun 25, 2021 · 1 comment
Closed
5 tasks done

unroll values like uland does #2

WebReflection opened this issue Jun 25, 2021 · 1 comment

Comments

@WebReflection
Copy link
Owner

WebReflection commented Jun 25, 2021

In this issue it came up that all uland values are resolved right away, like it is for uhtml-ssr.

However, this means that hooks cannot actually work the same way these do in uland, so that this module becomes less portable/interesting when it comes to SSR.

TODO

  • implement html (svg can be just an alias) so that values can be parsed later on
  • use original html (svg could be the same) to resolve holes once "unrolled"
  • add the ability to unroll Hook instances and provide an internal Hole too
  • perform similar dance the uland does, ignoring all caches around, as these are not needed
  • use the same uland mechanism to produce the async export
@WebReflection
Copy link
Owner Author

This MR fixed this issue, and uland-ssr has now been published.

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

No branches or pull requests

1 participant