question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[idea] easy-peasy-core without the react binding to create redux store in other framework

See original GitHub issue

Love 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
CyriacBrcommented, Jan 16, 2020

@ctrlplusb Here’s the repo: https://github.com/CyriacBr/easy-peasy-packages. I published @easy-peasy/core and @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.

2reactions
ctrlplusbcommented, Jan 15, 2020

No problem. Thanks for checking with me. 💜

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found