Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.
/ webcomponents Public archive

Simple poc for enabling react components through a webcomponent api

Notifications You must be signed in to change notification settings

de-perotti/webcomponents

Repository files navigation

Web components from React

Part 1

  • Make the simplest web component possible
  • Host it on NPM
  • Use it from another React project as a simple webcomponent
  • Give it powers
  • Use it from another React project wrapping it up and giving it back its power

Things to learn today:

  • How to bundle a typescript react project for a subset distribution?
  • How to host it on npm?
  • What is actually visible to the user of this code?
  • Can we make it better with a dist publication?

Part 2

  • Define whether it's easier to do a webcomponent or just go with plain javascript
  • Consume it from qb, using Home page as a playground for faster feedback
    • Using the webcomponent in a demand login route makes sure the client is logged in

About

Simple poc for enabling react components through a webcomponent api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published