You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-with-styles

Package Overview
Dependencies
Maintainers
7
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-with-styles - npm Package Versions

234

5.0.0

Diff
l
lencioni
published 5.0.0 •

Changelog

Source

v5.0.0

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

Changelog

Source

v4.2.0

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

Changelog

Source

v4.1.0

  • [new][performance] Cache by the resulting WithStyles HOC (@noratarano, #234)
n
noratarano
published 4.1.0-alpha.2 •
n
noratarano
published 4.1.0-alpha.1 •
n
noratarano
published 4.0.2-alpha.1 •
n
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))
n
noratarano
published 4.0.0-alpha.4 •
n
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)
n
noratarano
published 4.0.0-alpha.3 •