I will admit I am thinking "out loud" here, hence the tag for discussion. I want to know how others are handling this dilema of when to use Web Components. I really want to hear from all of the React community on this one! Are you spending time creating any Web Components? Do you just live happily within the React space?
Having a set of web components that handle the logic for my firebase authentication is awesome! It makes having a set of business logic simple. It reduces my time to start up an app from scratch.
The one downside of this is requiring the build process for Angular to be included in each of my projects that require the Web Components. Now in reality I could probably use a private NPM to push the fully built js into a project.
If you follow anything that I do, you will have noticed I am rewriting my app from Hugo into Gatsby, which is React based. I have read a lot that Web Components don't play well with React. However the react docs show that this isn't really true.
- Allows me to stay in a single framework
- Less build time as Angular prod build and copy to app not required
- Spending around 8 hours to rewrite
Don't feel comfortable chatting openly?
Drop me a line: