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

How do I add remote pilets? #19

Open
fhc93 opened this issue May 11, 2022 · 1 comment
Open

How do I add remote pilets? #19

fhc93 opened this issue May 11, 2022 · 1 comment

Comments

@fhc93
Copy link

fhc93 commented May 11, 2022

Hi, first of all I wanted to congratulate you for all the work on piral, the API looks really good.

Having said that, I'm a little confused with the ssr part since the documentation says that the pilets are created specially for the piral instance so I don't know how to create pilets for the ssr version.

@FlorianRappl
Copy link
Contributor

There is no difference - a pilet is / should be universal.

Right now only React rendering works though. In the future we may extend the converter API to also have functions that would allow hydration / SSR for non-React components.

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

2 participants