Giter VIP home page Giter VIP logo

furnish-js's People

Contributors

itslenny avatar kamranahmedse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

furnish-js's Issues

This is a bad idea. Do not encourage people to use this.

I know that this is opinion-based, but I would like to provide a little list of arguments on why this module is a bad idea. It is okay for experimenting, but please do not use this in production.

  • MutationObserver used in this module is not supported by older browsers and there is no backwards-compatibility implemented.
  • Instead of changing rules in your CSS file, you are now changing class names in HTML elements. What is the benefit of that? It is the same work.
  • This is basically inline css. Let's say you want to update padding from p10 to p15. You have to update every element individually, because there is no external stylesheet anymore.
  • By default this module inspecting and observing every DOM node. Browsers already do that by default. Why the extra work?
  • It absolutely does not fit in modern development workflows (CSS preprocessors + watch + livereload).

Can't get it to work

Hi,

This is great but I could not get it to work. I tried including the min and regular js but attaching classes in your format didn't affect styling in Chrome or Firefox.

Maybe I'm missing something?

Usage as a preprocessor

Hi,

I love the idea behind this, and I have a suggestion. In my opinion, it would be cool to use this as a preprocessor that takes an HTML file as input, and generates output CSS with only the required classes. That way it could be used as a Grunt/Gulp task and the runtime footprint would be even smaller.

What do you think?

Making everything `!important`

I'm just wondering why not make every style end up with !important to force the class since the developer is looking mostly for fast aligning solution to manage his DOMs

Crashes on Firefox

Hi,

Loading the min js crashes firefox - error's that the script has stop responding. When I remove it my site loads fine.

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.