Public repo of the original developers internal version
Go to file
2018-05-28 22:49:38 -04:00
public adding widget output 2018-05-28 22:49:38 -04:00
src adding widget output 2018-05-28 22:49:38 -04:00
.eslintrc adding widget output 2018-05-28 22:49:38 -04:00
.gitignore initial setup of widget 2018-05-26 14:53:54 -04:00
package-lock.json adding widget output 2018-05-28 22:49:38 -04:00
package.json theme and animations 2018-05-27 21:16:41 -04:00
README.md adding widget output 2018-05-28 22:49:38 -04:00
webpack.config.js adding widget output 2018-05-28 22:49:38 -04:00

Embeddable React Widget

Easy creation of an embeddable widget.

Goal

The create-react-app of embeddable widgets.

Features

  • Full ES6/ES2015 support (with Babel)
  • Package fonts, css, json, javascripts together into one simple repository (with Webpack)
  • No css tyling conflicts between the host page and the widget (with https://github.com/premasagar/cleanslate)
  • User theming of widget
  • Obfuscating of the widget code

What is an embeddable widget?

  • Usable using a simple <script> tag
  • Configurable with code
  • Themable

Why not in an iframe?

  • Interaction between the frame and the hosting page is tricky and not recommended
  • You can only display content within the iframe
  • iframe and content resizing is impossible
  • iframe sandboxing can result in missing functionalities

Roadmap

  • Widget as react app - index.html works (webpack, babel, react)
  • React widget (widget builder)
  • Webpack changed to output a library
  • Add tests
  • Add greenkeeper
  • Integrate eslint with webpack
  • Theming support
  • Obfuscation
  • Storyboard and docs

Links

Best