startae / hagrid

:straight_ruler: Hagrid is a mixin library for responsive websites and web applications.
https://hagrid.netlify.com/
MIT License
30 stars 3 forks source link

Ditch Fallback #38

Closed fspoettel closed 8 years ago

fspoettel commented 9 years ago

This issue will be the main tracker for the deprecation of the fallback-grid beginning in v3.0.

Currently, there are only a few browsers left that do not support flexbox out of the box:

With the End of Life of all but the latest IE versions in 01/2016, this leaves only Android versions prior to 4.4.x as a target for the fallback. These make up roughly 2% of all global visitors. This poses the question whether we should ditch the fallback with the deprecation of IE in january. The old versions will still be avaiable via npm and bower for projects that need legacy support. Since the codebase is pretty stable, I guess we don't need to provide an actively maintained branch.

The major version bump can be used to re-evaluate some parts of the codebase, mainly the default behavior of the grid and stuff like 'auto'-layouting grids. pinging @renatocarvalho for input on this. I have seen some grids going for an "auto by default" approach, but I favor the mobile-first aproach, as it allows for simpler grids in most use-cases.

:hammer: Tasks:

Edit: With the new flexbox-polyfill, only Android 4.3- would be unsupported.

renatocarvalho commented 8 years ago

Hey @felics, sorry for getting late to the party. I like the idea! Will review your PR tonight :)

renatocarvalho commented 8 years ago

Forgot to mention you here, but I reviewed the PR and looks good https://github.com/felics/hagrid/pull/41