Skip to content

Thick clients applications #1314

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

Closed
anri-asaturov opened this issue Jan 29, 2016 · 3 comments
Closed

Thick clients applications #1314

anri-asaturov opened this issue Jan 29, 2016 · 3 comments

Comments

@anri-asaturov
Copy link

Hi, I just started to learn about redux and I like it a lot and thinking about switching our apps(Peerio) to it. But my apps are 'thick clients', they sync with server, store their data locally in sqlite database and only have loaded in RAM data subset that is needed for rendering. Is there any success stories/patterns of usage of redux with thick clients?

@hnordt
Copy link

hnordt commented Jan 31, 2016

You can use Redux whenever you have local state to be handled.

In my experience, Redux works great even with simple state. Handling state inside React components is a pain.

In my opinion Redux will a great fit for your use case.

The great thing about Flux/Redux is that you can split your "state logic" into modules, but each module can easily talk with each other. It is awesome.

@robertknight
Copy link

To some extent, if you have a situation where you have some subset of data loaded and available synchronously and the rest stored elsewhere and accessed via async APIs, it doesn't matter whether the "elsewhere" is a local database accessed via IndexedDB or SQLite or a much larger DB accessed via an API provided by a web server - you can treat them the same way.

@gaearon
Copy link
Contributor

gaearon commented Feb 4, 2016

I’ll close because there doesn’t seem to be anything specifically actionable here but please feel free to continue the discussion.

@gaearon gaearon closed this as completed Feb 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants