All Projects → eserozvataf → React Eventmanager

eserozvataf / React Eventmanager

Licence: other
[Deprecated] Event-based simple React state management with decorators

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to React Eventmanager

incubator-eventmesh
EventMesh is a dynamic event-driven application runtime used to decouple the application and backend middleware layer, which supports a wide range of use cases that encompass complex multi-cloud, widely distributed topologies using diverse technology stacks.
Stars: ✭ 939 (+5423.53%)
Mutual labels:  state-management, event-driven
Dapr
Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.
Stars: ✭ 16,274 (+95629.41%)
Mutual labels:  event-driven, state-management
Apprun
AppRun is a JavaScript library for developing high-performance and reliable web applications using the elm inspired architecture, events and components.
Stars: ✭ 1,087 (+6294.12%)
Mutual labels:  event-driven, state-management
Effector
The state manager ☄️
Stars: ✭ 3,572 (+20911.76%)
Mutual labels:  event-driven, state-management
Pitstop
This repo contains a sample application based on a Garage Management System for Pitstop - a fictitious garage. The primary goal of this sample is to demonstrate several software-architecture concepts like: Microservices, CQRS, Event Sourcing, Domain Driven Design (DDD), Eventual Consistency.
Stars: ✭ 708 (+4064.71%)
Mutual labels:  event-driven
Weevent
Event-Driven Architecture Based on Blockchain.基于区块链的事件驱动架构
Stars: ✭ 608 (+3476.47%)
Mutual labels:  event-driven
Konfig
Composable, observable and performant config handling for Go for the distributed processing era
Stars: ✭ 597 (+3411.76%)
Mutual labels:  state-management
Beehive
A flexible event/agent & automation system with lots of bees 🐝
Stars: ✭ 5,348 (+31358.82%)
Mutual labels:  event-driven
Flutter Provide
A simple framework for state management in Flutter.
Stars: ✭ 824 (+4747.06%)
Mutual labels:  state-management
Swift Nio
Event-driven network application framework for high performance protocol servers & clients, non-blocking.
Stars: ✭ 6,777 (+39764.71%)
Mutual labels:  event-driven
Pullstate
Simple state stores using immer and React hooks - re-use parts of your state by pulling it anywhere you like!
Stars: ✭ 683 (+3917.65%)
Mutual labels:  state-management
Focal
Program user interfaces the FRP way.
Stars: ✭ 613 (+3505.88%)
Mutual labels:  state-management
Mobx State Tree
Full-featured reactive state management without the boilerplate
Stars: ✭ 6,317 (+37058.82%)
Mutual labels:  state-management
React Hooks Global State
Simple global state for React with Hooks API without Context API
Stars: ✭ 605 (+3458.82%)
Mutual labels:  state-management
Hox
The next-generation state manager for React.
Stars: ✭ 815 (+4694.12%)
Mutual labels:  state-management
Reatom
State manager with a focus of all needs
Stars: ✭ 567 (+3235.29%)
Mutual labels:  state-management
Rcre
Build complex applications without pain
Stars: ✭ 684 (+3923.53%)
Mutual labels:  state-management
React Final Form
🏁 High performance subscription-based form state management for React
Stars: ✭ 6,781 (+39788.24%)
Mutual labels:  state-management
Microservices Event Sourcing
Microservices Event Sourcing 是一个微服务架构的在线购物网站,使用Spring Boot、Spring Cloud、Spring Reactor、OAuth2、CQRS 构建,实现了基于Event Sourcing的最终一致性,提供了构建端到端微服务的最佳实践
Stars: ✭ 657 (+3764.71%)
Mutual labels:  event-driven
Little State Machine
📠 React custom hook for persist state management
Stars: ✭ 654 (+3747.06%)
Mutual labels:  state-management

React-EventManager

npm version npm download dependencies license

What is the React-EventManager?

React-EventManager is an alternative method of handling states on React views.

Quick start

Execute npm install react-eventmanager to install react-eventmanager and its dependencies into your project directory.

Usage

To handle events in React view:

import * as React from 'react';
import eventManager from 'react-eventmanager';

@eventManager.subscription({
    userChanged: 'onUserChanged'
})
class SampleContainer extends React.Component {
    constructor() {
        super();

        this.state = {
            userName: 'User-1'
        };
    }

    onUserChanged(userName) {
        this.setState({
            userName: userName
        });
    }

    render() {
        return (
            <div>
                {this.state.userName}
            </div>
        );
    }
}

To invoke a change:

import eventManager from 'react-eventmanager';

eventManager.emit('userChanged', 'Eser Ozvataf');

Todo List

See GitHub Projects for more.

Requirements

License

Apache 2.0, for further details, please see LICENSE file

Contributing

See contributors.md

It is publicly open for any contribution. Bugfixes, new features and extra modules are welcome.

  • To contribute to code: Fork the repo, push your changes to your fork, and submit a pull request.
  • To report a bug: If something does not work, please report it using GitHub Issues.

To Support

Visit my patreon profile at patreon.com/eserozvataf

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].