Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some questions about another one redux tooling library. #12

Closed
amabunny opened this issue Apr 29, 2021 · 1 comment
Closed

Some questions about another one redux tooling library. #12

amabunny opened this issue Apr 29, 2021 · 1 comment

Comments

@amabunny
Copy link

amabunny commented Apr 29, 2021

Hi! My name is Sergei, I'm 5 year experienced react developer and in my projects I used these libraries:

  • redux
  • redux-toolkit
  • effector

And I found an explain of your motivation to create redux-cool in the documentation:

ReduxToolkit tried to solve these problems but with no result. I think that the creators of ReduxToolkit did not know about the important problems that emerge when we start using Redux in big and complex projects.

Could you describe what you mean? What problems? Why it gives you no result? What important problems? Any examples of complex projects? Would you try to resolve some problems locally in your project?

In our projects with react-toolkit we creating feature directory with store folder containing files:

  • feature.actions.ts
  • feature.reducer.ts
  • feature.types.ts
  • feature.epics.ts
  • feature.selectors.ts

Then we import each one in feature store api initializer:

import * as actions from './feature.actions.ts';
import * as selectors from './feature.selectors.ts';
import * as epics from './feature.epics.ts';
import { reducer } from './feature.reducer.ts';
export * from './feature.types.ts';

export const featureApi = {
  reducer,
  selectors,
  actions,
  epics,
}

And we got something like that:
image

And what's about typescript? I don't see any information about typescript support.
In any case you need to explain problems that you resolved, what you get and what you lost. Now it looks like you didn't understand how to cook apps with redux-toolkit, nothing personal.

I really wish you can make something that will be better than redux-toolkit, but now it is not so.

Regards, Sergei.

@Ruben-Arushanyan
Copy link
Owner

Hi Sergey! My name is Ruben! Thanks for the question.

I wrote this library to solve these three main problems. Problems

And the typescript support will be in 2 day․

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants