{"id":18966929,"url":"https://github.com/link-intersystems/react-redux-plugin-architecture","last_synced_at":"2026-04-04T04:30:19.765Z","repository":{"id":73121584,"uuid":"410456441","full_name":"link-intersystems/react-redux-plugin-architecture","owner":"link-intersystems","description":"A React Redux plugin architecture example that uses dynamic imports to load plugins and uses separate RenderDOM for each plugin.","archived":false,"fork":false,"pushed_at":"2021-09-28T06:46:13.000Z","size":359,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-01T06:14:04.811Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/link-intersystems.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-26T05:13:45.000Z","updated_at":"2021-10-29T23:22:31.000Z","dependencies_parsed_at":"2023-02-27T02:15:57.604Z","dependency_job_id":null,"html_url":"https://github.com/link-intersystems/react-redux-plugin-architecture","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link-intersystems%2Freact-redux-plugin-architecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link-intersystems%2Freact-redux-plugin-architecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link-intersystems%2Freact-redux-plugin-architecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link-intersystems%2Freact-redux-plugin-architecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/link-intersystems","download_url":"https://codeload.github.com/link-intersystems/react-redux-plugin-architecture/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239964515,"owners_count":19725952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T14:39:07.755Z","updated_at":"2025-02-21T05:57:23.447Z","avatar_url":"https://github.com/link-intersystems.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository is an architecture proposal for plugin architectures in JavaScript. Even though it is implemented with a pure React and and React-Redux plugin app, the concepts can be applied to any JavaScript application.\n\n# Goal\n\nThe goal of a plugin architecture is to add features to an application without modifying it. Therefore each plugin architecture honors the open-close principle.\n\n# Structure\n\n## [src/index.js](src/index.js)\n\nThe entry point runs the configured plugins.\n\n    import run from \"./app/reactPluginRunner\";\n\n    const pluginPaths = [\n      \"plugins/counter/CounterPlugin\",\n      \"plugins/jsonplaceholder/Plugin\"\n    ];\n\n    run(pluginPaths);\n\n## Plugin description\n\nEach plugin path points to a module with a plugin default export that contains the plugin id, the mainComponent and optionally a reducer.\n\n    const plugin = {\n      id: \"counter\",\n      mainComponent: \u003cCounter /\u003e,\n      reducer: counterReducer\n    };\n\n    export default plugin;\n\nIf a plugin contains a reducer, it is configured under the id of the plugin. The plugin's id is used as the Redux slice's name.\n\nThe main component will be rendered in the [public/index.html](public/index.html) under the element with that id. E.g.\n\n    \u003cdiv id=\"counter\"\u003e\n\n# RUN\n\nInstall all node modules with `npm install` then start the application with\n\n    npm start\n\n## Codesandbox\n\nA running example can be found at [codesandbox.io](https://codesandbox.io/s/react-redux-plugin-architecture-jktd8)\n   ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink-intersystems%2Freact-redux-plugin-architecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flink-intersystems%2Freact-redux-plugin-architecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink-intersystems%2Freact-redux-plugin-architecture/lists"}