Giter Club home page Giter Club logo

Comments (6)

mrpmorris avatar mrpmorris commented on August 29, 2024 1

Fixed in release 3.1.1, which should be available immediately.

from fluxor.

mrpmorris avatar mrpmorris commented on August 29, 2024

I've not been able to reproduce this. I created a structure like so

1: CounterA : FluxorComponent
2: CounterB : CounterA
3: Counter : CounterB

And the counter updated. Can you provide something that reproduces this?

from fluxor.

psampaio avatar psampaio commented on August 29, 2024

I just re-tested and the root cause is that the IState property is private. If I change it to protected, it works. In my case, I keep it private and expose the relevant state properties as protected.

If this is the intended behavior, you can close this issue.

from fluxor.

mrpmorris avatar mrpmorris commented on August 29, 2024

It's not, I to use private state. I will have a look tomorrow. I'm due to do a release soon so hopefully I'll get to the bottom of this.

from fluxor.

mrpmorris avatar mrpmorris commented on August 29, 2024

Do you think you could send me a sample that reproduces this problem, please?

Thank you

from fluxor.

psampaio avatar psampaio commented on August 29, 2024

Here you go:
https://github.com/psampaio/fluxorsample

See BasePage.cs in the root. Basic workflow: Page1 and Page2 have a common underlying MyDomainObject that BasePage tries to load from the route Id. The OnAfterRenderAsync override is for when you go directly to the pages, waiting for the store initialization. If Id matches on of our objects, dispatch an action to select it, which changes the state and refreshes.

from fluxor.

Related Issues (20)

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.