Simple Embeddable React Widget screenshot

Simple Embeddable React Widget

Author Avatar Theme by Bjgrosse
Updated: 10 Oct 2019
117 Stars

A simple template for an embeddable javascript widget that can be inserted into a host website using a single <script> tag. The widget uses React, JSX, Babel, and is compiled using Webpack into a single .js file which can be static hosted and served.

Overview

This project is a simple template for an embeddable React widget that can be inserted into a host website using a single <script> tag. It supports JSX, CSS styles, and is compiled using Webpack into a single .js file which can be static-hosted. It allows for both synchronous and asynchronous loading.

Features

  • Embeddable React widget that can be inserted into a host website using a single <script> tag
  • Supports JSX and CSS styles
  • Compiled using Webpack into a single .js file for static hosting
  • Supports both synchronous and asynchronous loading

Installation

  1. Install dependencies
  2. Run the development server
  3. Build the package
  4. Run tests

Summary

This project provides a simple template for creating an embeddable React widget that can be easily inserted into a host website. It supports JSX, CSS styles, and can be compiled into a single .js file using Webpack. The widget can be loaded both synchronously and asynchronously, allowing for flexibility in implementation.