1.0.1 • Published 12 months ago

react-eventbus-js v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

EventBusJS

A minimal React event bus library for cross-component communication.

Overview

EventBusJS is a lightweight event bus system designed to facilitate communication between isolated React components without the need for direct parent-child relationships. It allows components to subscribe to events and publish events in a decoupled manner, making your React application more modular and easier to maintain.

Features

  • Simple API: Easily subscribe to and publish events with minimal boilerplate.
  • Component Isolation: Communicate between components without passing props or using context.
  • Lightweight: Designed to be small and efficient, suitable for any React project.

Installation

Install EventBusJS via npm:

npm install react-eventbus-js
1.0.1

12 months ago

1.0.0

12 months ago