{"repo":"GeekyAnts/react-pluggable","free":true,"listed":false,"github":"https://github.com/GeekyAnts/react-pluggable","clone":"git clone https://github.com/GeekyAnts/react-pluggable.git","description":"A plugin system for JS & React apps.","language":"TypeScript","stars":201,"topics":["react","react-pluggable","plugin-system","plugin-architecture","tsx","open-closed-principle","react-native","javascript"],"license":"MIT","category":"mobile-apps","readme_excerpt":"React Pluggable 1) Introduction React Pluggable: A plugin system for JS & React apps While React itself is a plugin system in a way, it focuses on the abstraction of the UI. It is inherently declarative which makes it intuitive for developers when building UI. With the help of React Pluggable, we can think of our app as a set of features instead of a set of components . It provides a mixed approach to solve this problem. We at GeekyAnts have used React Pluggable for large & complex apps like BuilderX to add independent and dependent features over time, and it has worked wonderfully for us. Find out more on our official documentation. 2) Motivation In React, we think of everything as components. If we want to add a new feature, we make a new component and add it to our app. Every time we have to enable/disable a feature, we have to add/remove that component from the entire app and this becomes cumbersome when working on a complex app where there are lots of features contributed by different developers. We are a huge fan of Laravel and love how Service Provider works in it. Motivated by how we register any service for the entire app from one place, we built a plugin system that has all your features and can be enabled/disabled with a single line of code. React Pluggable simplifies the problem in 3 simple steps: 1. To add a new feature in your app, you write it's logic and install it in the plugin store. 2. You can use that feature anywhere in the app by calling that feature usi","default_branch":null,"files":null,"tree":[],"storefront":"/r/GeekyAnts","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GeekyAnts/react-pluggable/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}