openequella / openEQUELLA-slideshow

Web component that leverages openEQUELLA content in a configurable slideshow
Apache License 2.0
0 stars 1 forks source link

Setup basic web component framework #1

Open cbeach47 opened 3 years ago

cbeach47 commented 3 years ago

While the overarching goal of this web component is to be similar to the modern openEQUELLA technology stack, it's important to be able to be run separately (ie from Moodle, uPortal, Canvas, etc) - any web page should be able to drop in this web component and hook in a slideshow from an oEQ institution.

cbeach47 commented 3 years ago

@ChristianMurphy - I was thinking Vue would be a good choice for a framework. Seems to work nicely for the uPortal web components. Would you recommend a different one?

ChristianMurphy commented 3 years ago

Either Vue or Preact could work, React's support for generating custom elements is a bit rough around the edges.

Preact can run/leverage React compoents, which may come in handy. Vue supports web components as a target in it's CLI which can reduce tooling.

cbeach47 commented 3 years ago

Since oEQ uses React, makes sense to lean towards Preact for the possibility of sharing UX components.

Probably would be good to leverage Typescript as well.

cbeach47 commented 3 years ago

In further conversations, the goal is: Snowpack, Preact / React, and Typescript