Gatsby: Replace React with web components

Created on 20 Feb 2018  路  4Comments  路  Source: gatsbyjs/gatsby

Description

Question:
Is it possible to replace React with something that uses web components, like StencilJS?

question or discussion

All 4 comments

I'm not sure what Stencil is capable of, but as far as I'm aware web components don't support SSR so it would be hard to do what Gatsby does at build time.

According to stencil docs:

Stencil also enables a number of key capabilities on top of Web Components, in particular Server Side Rendering (SSR) without the need to run a headless browser, pre-rendering, and objects-as-properties (instead of just strings).

https://stenciljs.com/docs/server-side-rendering

Would be great just start some kind of experimental branch or fork to replace react by any WC lib , love stencil and is getting better everyday .

Due to the high volume of issues, we're closing out older ones without recent activity. Please open a new issue if you need help!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

3CordGuy picture 3CordGuy  路  3Comments

jimfilippou picture jimfilippou  路  3Comments

ghost picture ghost  路  3Comments

totsteps picture totsteps  路  3Comments

ferMartz picture ferMartz  路  3Comments