GithubHelp home page GithubHelp logo

Mistakes about boy HOT 5 CLOSED

corysimmons avatar corysimmons commented on September 26, 2024
Mistakes

from boy.

Comments (5)

corysimmons avatar corysimmons commented on September 26, 2024

Some people still use IE6, but this boilerplate doesn't specifically aim to support IE6 by any means. All the polyfills target IE6**-8** and quite a few people still use IE8. In fact, this boilerplate is unique in that it supports people who still develop for those browsers. All polyfills are conditionally loaded so they only download to browsers that actually need them. This makes it a seamless integration.

Why is @import bad practice? I've never heard of this.

from boy.

wolffe avatar wolffe commented on September 26, 2024

@import is bad practice because, in short, you are calling a CSS file which calls another CSS file. This is redundant, why not call directly the intended stylesheet?

Also, IE8 is still being used and it's our job to not target it so that more and more users switch browsers or upgrade.

Even if all polyfills are conditionally loaded, they are still there, contributing to the weight of the project. I'd rather have a lightweight project targeting best practices and modern browsers than a mammoth targeting everything.

But I do understand where you're coming from.

from boy.

corysimmons avatar corysimmons commented on September 26, 2024
  • I disagree about the @import being a bad practice. 1) It cuts down on HTTP requests to @import other stylesheets 2) It keeps Normalize.css virgin source for easy updating 3) It doesn't clutter style.css with multiple @import statements that are effectively doing the same thing.
  • I don't specifically develop for IE8, and I'm sure most of my sites look atrocious in it, but they'd look even more atrocious if I didn't use this boilerplate. At least this way they get some semblance of the site and it doesn't cost me any extra work to do.
  • Maybe https://html5boilerplate.com is a better fit for you. Boy is built off of it so it does all the nice things H5BP does, but also supports older browsers for free. If neither of these projects is exactly what you're looking for, feel free to create your own boilerplate?
  • I understand where you're coming from too, but honestly, this is a lighter version of H5BP and it provides a little free support for older browsers without ensuring IE8 lives another 6 years. I guess I just don't agree with your qualms with it.

from boy.

wolffe avatar wolffe commented on September 26, 2024

No worries. Great job, anyway.

from boy.

corysimmons avatar corysimmons commented on September 26, 2024

Thanks for the support.

from boy.

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.