Socket
Socket
Sign inDemoInstall

react-with-styles

Package Overview
Dependencies
89
Maintainers
4
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234Next

5.0.0

Diff

Changelog

Source

v5.0.0

  • [breaking] [deps] Update peer deps to React 16.3+. (@indiesquidge, #246)
lencioni
published 4.2.0 •

Changelog

Source

v4.2.0

  • [new] update withStyles to forward ref to inner component (@indiesquidge, #240)
noratarano
published 4.1.0 •

Changelog

Source

v4.1.0

  • [new][performance] Cache by the resulting WithStyles HOC (@noratarano, #234)
noratarano
published 4.1.0-alpha.2 •

noratarano
published 4.1.0-alpha.1 •

noratarano
published 4.0.2-alpha.1 •

noratarano
published 4.0.1 •

Changelog

Source

v4.0.1

  • [fix] Use a WeakMap cache instead of a Map cache to prevent high memory usage (with fallback to Map) (@noratarano, [#230](https: //github.com/airbnb/react-with-styles/pull/230))
noratarano
published 4.0.0-alpha.4 •

noratarano
published 4.0.0 •

Changelog

Source

v4.0.0

  • [breaking] Add @babel/runtime as a peer dependency (because of our dependency on babel-preset-airbnb) (@noratarano, #229)
  • [new] Introduce the useStyles hook, which is still experimental. Use if you do not require performance optimizations for themed styles per component. (@noratarano, #225, #221)
  • [new] Refactor withStyles to use a context-based implementation, rather than singletons in the ThemedStyleSheet. Works in a backward compatible way with the ThemedStyleSheet implementation. Note that this may break existing usages of the HOC if a wrapping component of a component using withStyles uses contextTypes and hoists contextType (usually accidentally). (@noratarano, #225, #221)
  • [breaking] Drop support for node 6 (@noratarano, #219)
noratarano
published 4.0.0-alpha.3 •

234Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc