Giter VIP home page Giter VIP logo

Comments (3)

rendro avatar rendro commented on August 14, 2024

The plugin was designed to provide a lightweight solution for a single pie chart case. I think if someone likes to support older browsers they should detect the feature with modernizr and implement a good fallback strategy. But in my opinion this should never be part of the basic library. What do you think? Should a lightweight plugin provide fallback for every possible case?

from easy-pie-chart.

danielrsmith avatar danielrsmith commented on August 14, 2024

I do agree that it is the implementors responsibility to do a majority of the testing. However testing for canvas support is a simple test that can make the plugin more resilient.

from easy-pie-chart.

rendro avatar rendro commented on August 14, 2024

I agree on the fact that browser features have to be detected when implementing plugins that heavily rely on new technologies. But I see this as a responsibility of the one who is implementing the stuff, because when every plugin carries tests for their features you end up with bloated JavaScript assets and KB's of code overhead every user has to download on their first request. This results in a decrease of user experience because of longer load times and some tests are really heavy and they are executed for every plugin again and again.

from easy-pie-chart.

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.