-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
planned
-
drop React 15 support and switch to React 16-compliant lifecycle methods, etc without polyfills-
use React 16.3+ context API in ThemeProvider (Use new context API #1894) -
useReact.forwardRefAPI to remove the need forinnerRef(use React.forwardRef #1923)
-
-
drop HTML element whitelist-
desugar syntax via babel plugin (desugar styled.tag to styled('tag') babel-plugin-styled-components#140) -
add "no-tags" entry (add "no-tags" entry to be used in conjunction with babel plugin #1912) -
replace imports to "styled-components" with "styled-components/no tags" entry when using the babel plugin (rewrite styled import to "no tags" entry babel-plugin-styled-components#150)
-
-
update documentation to strongly recommend using the babel plugin (emphasize babel plugin usage in the installation & getting started sections styled-components-website#288) -
remove preprocess functionality (Remove preprocess code and flag babel-plugin-styled-components#135) -
drop.extend()API (remove "extend" functionality #1908) -
delete the now unnecessaryconsolidateStreamedStyles()API (remove deprecated consolidateStreamedStyles API #1906) -
component-based global style API (Component-based API for global styling #1333)-
remove the injectGlobal API (Component-based API for global styling #1333)
-
-
migrate TS typings out of the repo to DefinitelyTyped (Migrate TS typings to DefinitelyTyped #1778, add styled-components typings DefinitelyTyped/DefinitelyTyped#28207, remove typescript stuff #1922) - add syntax highlighting support for new APIs (Upcoming API changes in styled-components v4 webstorm-styled-components#55, Upcoming API changes in styled-components v4 stylelint-processor-styled-components#209, Upcoming API changes in styled-components v4 vscode-styled-components#126,
Upcoming styled-components v4 changes vim-styled-components#48) -
drop prod builds of things and just let downstream webpack etc handle minification and such -
stop bundling PropTypes with the UMD build (fix removal of PropTypes import in production builds #1921) -
document all new APIs, mark old APIs as deprecated in the docs -
remove jsnext:main from package.json (remove jsnext:main package.json entry point #1907)
nice to have
- generate sourcemaps (Emit source maps #827)
- investigate individual dynamic rule setting in production for perf (Potential performance gains from CSSStyleRule.style #779)
- drop HTML attribute regex + runtime checks
- add reserved prop (name TBD) (add reserved "sc" prop, handling #1682)
- config (via babel plugin?) for various things like disabling speedy mode, component namespacing, etc
denkristofferCodingDive, yyynnn, philiiiiiipp, MegaBlackLabel, aiwatko and 4 more
Metadata
Metadata
Assignees
Labels
No labels