Giter VIP home page Giter VIP logo

Comments (9)

vincejairam avatar vincejairam commented on June 11, 2024

Also please confirm, I want all my stores or most of them to be stored in local storage and DO NOT want Fluxor to use in memory for the stores that I want to utilize for local storage any more, that is the intent of this library correct?

from fluxor-persist.

Tailslide avatar Tailslide commented on June 11, 2024

I haven’t tested with Fluxor 5.9.1 since I can’t find any information on what changed in that release.

Is Fluxor working in your project if you do not use Fluxor.Persist?

Does the sample blazer server project in this repo work for you with Fluxor 5.9.0?

This library lets you persist a copy of the state (typically in local storage but could also be elsewhere). You can persist all state or just the states you flag. There is still a copy in memory. If you have a large amount of data you don’t want in memory you should be looking at indexedDb.

from fluxor-persist.

vincejairam avatar vincejairam commented on June 11, 2024

Hi @Tailslide , thanks for the quick response. Yes when I comment out the line for UsePersist the app works with no issues. I haven't tried 5.9.0 with the sample application. I did download and run the sample app with no issues. I also change my version to 5.9.0 as I taught it might be an issue as the your docs indicate support at 5.9.0 level but it was still giving me the same issue.

I would like however to get rid of the in copy memory from Fluxor as its quite large, that was the main reason at looking at this package. I've never used indexedDb would that be a addon to Fluxor or a replacement all together....

from fluxor-persist.

Tailslide avatar Tailslide commented on June 11, 2024

Fluxor Persist will not solve your memory problems even if we get it working on your project.

IndexedDb is a completely different system than Fluxor. It is a database built into the browser you can inspect it with F12 from the browser. Here is a library for it:

https://github.com/amuste/DnetIndexedDb

The author disappeared so here is a fork and .NET 7 nuget I made of it:
https://github.com/Tailslide/DnetIndexedDb/tree/newpublish.
There might be other packages for it too if you search around.

If you have just certain states that are huge you might want to move those states from Fluxor to IndexedDb but then they will of course not be Fluxor states anymore.

from fluxor-persist.

vincejairam avatar vincejairam commented on June 11, 2024

Hi @Tailslide , thanks for the clarification and information, much appreciated.

from fluxor-persist.

Tailslide avatar Tailslide commented on June 11, 2024

Did you ever get this working? If you're still stuck since the sample is working for you just gradually copy your project into the sample project and keep testing after each page/state to make sure it doesn't break.

from fluxor-persist.

Tailslide avatar Tailslide commented on June 11, 2024

Feel free to re-open this issue or open another issue if you need more help.

from fluxor-persist.

danik121 avatar danik121 commented on June 11, 2024

Same problem. FLuxor version 5.9.1. Sample code is not working

from fluxor-persist.

Tailslide avatar Tailslide commented on June 11, 2024

Ok I will take a look when I get a chance

from fluxor-persist.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.