@ou-imdt/components

0.0.4 • Public • Published

Components

  • low-level UI components once, in a framework-agnostic way, and then re-use them between frameworks? Of course it would! And we can; web components are the way.

  • Web components particularly excel as leaf components. Leaf components are the last thing to be rendered in a component tree. These are the components which receive some props, and render some UI. These are not the components sitting in the middle of your component tree, passing data along, setting context, etc. — just pure pieces of UI that will look the same, no matter which JavaScript framework is powering the rest of the app.

🌳Fully tree shakeable For me it was particularly important that only necessary code ends up in the final application. When you import a component, it only includes the necessary JS and CSS styles. Pretty cool, right?

Readme

Keywords

none

Package Sidebar

Install

npm i @ou-imdt/components

Weekly Downloads

1

Version

0.0.4

License

none

Unpacked Size

131 kB

Total Files

5

Last publish

Collaborators

  • edwin-open-university
  • glynlewis
  • alex.phillips
  • claudia.silver
  • iainwoodou
  • amanda.rose
  • mustafabektik