Comments (13)
Thanks!
I disabled the second pass: 214fc8e
As for the browser support, I agree we need better defaults.
Would you like to submit a PR with those that seem sensible for most projects?
from create-react-app.
How about using >1%, last 4 versions, Firefox ESR
? That would add a fair amount of support for legacy iOS Safari versions, considering the release cycle of Apple products. IE8 would also remain supported by using the aforementioned query.
> console.log(require('autoprefixer')('>1%', 'last 4 versions', 'Firefox ESR').info())
Browsers:
Chrome for Android: 51
UC for Android: 9.9
Android: 4.4, 4.4.3-4.4.4
Chrome: 52, 51, 50, 49
Edge: 13, 12
Firefox: 47, 46, 45, 44
IE: 11, 10, 9, 8
IE Mobile: 11, 10
iOS: 9.3, 9.0-9.2, 8.1-8.4, 8
Opera Mini: all
Opera: 38, 37, 36, 35
Safari: 9.1, 9, 8, 7.1
Samsung: 4
These browsers account for 90.67% of all users globally
EDIT: Support for IE < 10 could be removed without sacrificing much:
> console.log(require('autoprefixer')('>1%', 'last 4 versions', 'Firefox ESR', 'not ie < 10').info())
Browsers:
Chrome for Android: 51
UC for Android: 9.9
Android: 4.4, 4.4.3-4.4.4
Chrome: 52, 51, 50, 49
Edge: 13, 12
Firefox: 47, 46, 45, 44
IE: 11, 10
IE Mobile: 11, 10
iOS: 9.3, 9.0-9.2, 8.1-8.4, 8
Opera Mini: all
Opera: 38, 37, 36, 35
Safari: 9.1, 9, 8, 7.1
Samsung: 4
These browsers account for 89.74% of all users globally
from create-react-app.
We want to support IE >= 9, just like React.
iOS >= 7 also sounds reasonable.
from create-react-app.
On the iPhone, OS segmentation is very low because of the highly encouraged free system upgrades. In my opinion, supporting iOS 7 doesn't make as much sense as supporting everything down to iOS 6, because that's the last system software which the iPhone 3GS supports.
IE9 was released on March 14, 2011, and the first iPhone 4 (which only supports iOS < 8) was released on June 24, 2010. The iPhone 4S - which supports all the available iOS software versions to date - was released on October 14, 2011: 7 months after the release of IE9. Smartphones changed a lot during the last 5 years, and many users have adopted newer devices since then.
In conclusion, I think that supporting IE >= 9 is very reasonable, but iOS 7 should only be supported whether iOS 6 gets support, too.
from create-react-app.
Ok, iOS >= 8 it is then.
from create-react-app.
Can it be >1%, last 4 versions, Firefox ESR, not ie < 9
, then? It's reasonable because that keeps iOS 8 compatibility until the OS has a user base greater than 1%.
from create-react-app.
Sounds good.
from create-react-app.
🙅♂️ Can't customize the browser list any more :/
from create-react-app.
iOS >= 8 is necessary.
from create-react-app.
We created a website using react and Material Design. Autoprefixer doesn't add the "-webkit" prefix for display flex properties and it breaks out the layout on Safari 8 (tested on browserstack on an iPhone 6).
Can you please reconfigure Autoprefixer to also add the "webkit" prefix for the CSS flex properties?
I should mention that on 23 Jan 2018 IOS version 11 was released.
from create-react-app.
You can configure any browser support you'd like in 2.x. You can help beta test this feature by following the instructions here: #3815.
from create-react-app.
I am having the same issue as @MihaiStanGDM
from create-react-app.
@Timer I don't see where the instructions to configure browser support are in the post you linked to
from create-react-app.
Related Issues (20)
- Create react app HOT 1
- login issue
- my sign in not working
- HMR not working
- [email protected]
- "npx create-react-app" doesn't generate src or public folders HOT 1
- Usage override/workaround/hack with ESLint 9
- Frontend Host doesn't match the current host in the browser, so it's probably incorrect. Links in emails and file downloads from the API will not work. Click here to update. HOT 1
- [https://newsroom.spotify.com/news/](https://deezer.page.link/fCBsxrTRUZvKbLkA8) HOT 3
- react-scripts/v/5.1.0-next.14 contains multiple security vulnerabilities for inner modules
- Issue in creating react app HOT 4
- cra打包路由切换FiberRootNode会新增,webpack打包就不会 HOT 1
- Error -4048 and Error -4058 and ENOENT, HOT 1
- Des erreurs apres installation de mui sur un projet React 18.0.0 ou supérieur HOT 1
- del proyecto
- how i can run react program in vs code HOT 4
- React JS HOT 4
- @babel/plugin-proposal-private-property-in-object missing from babel-preset-react-app dependencies
- Npx create-react-app: 8 vulnerabilities (2 moderate, 6 high) in new react app HOT 1
- 不动 啊
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from create-react-app.