Giter VIP home page Giter VIP logo

Comments (4)

galvesribeiro avatar galvesribeiro commented on May 14, 2024

Hello @sparkie108

That happens because server-side Blazor requires that all JS interop being async.

The current Canvas implementation isn't async so it will not work. It was meant to be used on the client-side Blazor.

We can make that work but before that, there is a work on batch rendering that must be done so the performance isn't affected.

I've opened #13 to get track of it and for now, there is nothing we can do to allow server-side rendering to work.

Please follow up on that issue as I'm closing this for now.

Thanks!

from canvas.

ctrl-alt-d avatar ctrl-alt-d commented on May 14, 2024

I miss a little 'warning' on read.me page informing tabout his limitation.

from canvas.

brinkp avatar brinkp commented on May 14, 2024

Any progress on this issue? I really would like to use the Canvas, but I am bound to server-side Blazor...

from canvas.

galvesribeiro avatar galvesribeiro commented on May 14, 2024

Not yet.

I'll probably wait for #20 to get in. It is adding WebGL to the table and (if required) will change the API surface a bit.

Once it is done, I'll then move forward with #13 which will add async methods and as a side-effect enable server-side mode.

Use of Canvas remotely with server-side where you don't have batch rendering will probably give a very poor performance.

from canvas.

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.