0.0.3 • Published 3 years ago

ragu-client-react v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

Testing Coverage Status License: MIT npm version PRs Welcome

A React Client for Ragu Server - A micro-frontend framework.

Installation

npm install ragu-client-react

Usage

import {RaguComponent} from "ragu-client-react";


<RaguComponent src="https://my-micro-frontend-url/" />
PropertyDescriptionRequiredDefault
srcThe micro-frontend URLtrue-
wrapperThe tag that wraps the micro-frontendfalse"div"
prefetchResponseA pre-fetch HTML version of the component (used for SSR)false-
onFetchCompletedA callback called when component fetch is finished.false-
onFetchFailA callback called when component fetch fails.false-
onHydrateCompletedA callback called when component was hydrated (it means, the render process finished)false-
0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

4 years ago