Coder Social home page Coder Social logo

Comments (8)

timeshift92 avatar timeshift92 commented on May 2, 2024 1

Everything is fine! Thank you

from stl.fusion.

alexyakunin avatar alexyakunin commented on May 2, 2024

Hi, looks like you're getting this exception from Blazorise.BaseComponent - i.e. makes sense to look its source code, if it's still available, or decompile it.

One important thing, though: looks like it was called from Fusion's helper allowing to call StateHasChanged (protected method) on another component, which normally is ok only if another component is written in a way it expects this - i.e. it doesn't assume in its own code that only it may call this method.

from stl.fusion.

alexyakunin avatar alexyakunin commented on May 2, 2024

In short, if you call StateHasChangedAsync on some other component, you must take into acc. the default behavior / assumptions about StateHasChanged.

from stl.fusion.

timeshift92 avatar timeshift92 commented on May 2, 2024

i have run your example https://github.com/servicetitan/Stl.Fusion/tree/master/samples/TodoApp,
and did not change anything, when he looked on the stack, he swore at blazorise

from stl.fusion.

alexyakunin avatar alexyakunin commented on May 2, 2024

I see - will check it out today, prob. Blazorise update.

from stl.fusion.

alexyakunin avatar alexyakunin commented on May 2, 2024

@timeshift92 I fixed the issue. I guess you've updated to the latest Fusion version & got one - that's because v2.1 got a number of changes related to IState there, and in particular, the initial IState<T> value is default(T) now rather than the result of a call of parameterless constructor for type T. This is what was causing ~ a similar issue (NullReferenceException) in most of samples after I upgraded them.

from stl.fusion.

alexyakunin avatar alexyakunin commented on May 2, 2024

Besides that, all the samples are now updated to the lastest Fusion.

from stl.fusion.

alexyakunin avatar alexyakunin commented on May 2, 2024

Please confirm if the issue is gone on your end and I'll close the ticket :)

from stl.fusion.

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.