Stencil: Stencil components aren't hydrated in Angular Universal

Created on 29 Sep 2018  路  4Comments  路  Source: ionic-team/stencil

Stencil version:

 @stencil/[email protected]

I'm submitting a:

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/

Current behavior:

I'm building my stencil components with the prerender flag and use it in my angular project with angular universal. All my stencil components aren't hydrated.

Expected behavior:

Stencil components should hydrated too, same as the angular ones.

Steps to reproduce:

  1. Setup an angular project with angular universal.
  2. Build stencil components with prerender flag
  3. import them in the angular projects

Most helpful comment

Hi !

Any documentation/indication about how to use the dist-hydrate-script ?

I'm also facing problems using Stencil components in an Angular Universal app.

Thank you =)

All 4 comments

Stencil One introduces a new output target called dist-hydrate-script than can be integrated with angular universal, we will release further details very soon in the docs website!

Hi !

Any documentation/indication about how to use the dist-hydrate-script ?

I'm also facing problems using Stencil components in an Angular Universal app.

Thank you =)

Maybe a solution?

Why this issue closed?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cjorasch picture cjorasch  路  3Comments

bekliev picture bekliev  路  3Comments

ckrack picture ckrack  路  3Comments

lcswillems picture lcswillems  路  3Comments

mitchellsimoens picture mitchellsimoens  路  3Comments