[idea] easy-peasy-core without the react binding to create redux store in other framework
See original GitHub issueLove the easy workflow this library providing. I would like to use it in other framework like polymer and LitElement. Since the store this library is generating pretty much just a redux store, I see a high chance of compatibility. The architecture question would be that if it is better to have a easy-peasy-core and a easy-peasy-react hooks binding library. Maybe easy-easy-angular too?
That way I can just import the core library without the react stuff when I use it in the Polymer/LitElement framework.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Redux Fundamentals, Part 5: UI and React
Since Redux is a separate library, there are different "binding" libraries to help you use Redux with a given UI framework. Those UI...
Read more >What is the best way to access redux store outside a react ...
Export the store from the module you called createStore with. Then you are assured it will both be created and will not pollute...
Read more >Redux without React — State Management in Vanilla JavaScript
While React is only a view layer (not a full framework such as Angular or Ember), Redux manages the state of your application....
Read more >How To Manage State in React with Redux - DigitalOcean
You'll build a single data store, and you'll create actions and reducers to update the store. You'll then pull data into your components...
Read more >Understanding Redux: A tutorial with examples
While it's mostly used as a state management tool with React, you can use it with any other JavaScript framework or library.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@ctrlplusb Here’s the repo: https://github.com/CyriacBr/easy-peasy-packages. I published
@easy-peasy/coreand@easy-peasy/react. Respective tests pass so far. I’ve used core in my project just now and all seem good.Btw, I tried to convert the react part of your lib in typescript but wow, it wasn’t an easy task. I gave up at a point. When I’ll work on the vue connector I’ll see if I can correctly leverage your types to provide a full TS codebase.
No problem. Thanks for checking with me. 💜