Socket
Socket
Sign inDemoInstall

react-socks

Package Overview
Dependencies
5
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

2.2.0

Diff

Changelog

Source

2.2.0

  • Adds a function for setting the default width
flexdinesh
published 2.1.0 •

Changelog

Source

2.1.0 (19 Sep 2019)

  • NEW: Support for custom breakpoints
flexdinesh
published 2.0.2 •

Changelog

Source

2.0.2 (6 Aug 2019)

  • FIX: TypeScript Breakpoint props type issue
flexdinesh
published 2.0.1 •

Changelog

Source

2.0.1 (5 Aug 2019)

  • FIX: TypeScript support for dynamic breakpoints and breakpoint hooks
flexdinesh
published 2.0.0 •

Changelog

Source

2.0.0 (30 Jul 2019)

  • NEW: Add support for React hooks
  • NEW: Add types for TypeScript
  • IMPROVE: Prevent memory leaks during debounced resize

Released

flexdinesh
published 1.0.1 •

Changelog

Source

1.0.1 (19 Jan 2019)

  • IMPROVE: Debounce resize event as a performance enhancement
  • IMPROVE: Add support for custom tagName & className
  • FIX: Can be used with multiple contexts without having to wrap the component with BreakpointProvider in test cases
flexdinesh
published 1.0.0 •

Changelog

Source

1.0.0 (9 Dec 2018)

  • First stable release of React Socks.
  • Following changes are included in the first stable release based on feedbacks from alpha release.
    • BreakpointProvider - context wrapper to prevent width calculation in each Breakpoint component.
    • Support SSR.
    • Performance improvements.
flexdinesh
published 1.1.0-alpha •

flexdinesh
published 1.0.0-alpha •

Changelog

Source

1.0.0-alpha (20 Nov 2018)

  • An alpha version of React Socks is released to the world =)
  • Following APIs are included in the first alpha
    • setDefaultBreakpoints to define custom breakpoints
    • Breakpoint component with breakpoint and modifier props.
      • Three modifiers available
        • only - will render the component only in the specified breakpoint.
        • up - will render the component in the specified breakpoint and all the breakpoints above it (greater than the width).
        • down - will render the component in the specified breakpoint and all the breakpoints below it (less than the width).
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