Skip to content

Releases: kristofdombi/react-with-breakpoints

v3.1.3

15 Sep 06:43
Compare
Choose a tag to compare

Updates:

  • BreakpointContext is now exported 🌀
  • BreakpointsProvider got a new prop, called onBreakpointChange 🆕 - Thanks @blacksmoke26 for the suggestion!

v4.0.4

14 Sep 18:49
Compare
Choose a tag to compare

Updates:

  • BreakpointContext is now exported, so you can utilize with useContext 🌀
  • BreakpointsProvider got a new prop, called onBreakpointChange 🆕 - Thanks @blacksmoke26 for the suggestion!

v4.0.2

27 Mar 23:17
Compare
Choose a tag to compare

Thanks to @kandelynscott, I found out that I made a mistake during the last npm publish. 🤦‍♂️
This release fixes the exports. 🔨 Sorry for the inconvenience! 🙇

v4.0.1

22 Mar 08:25
Compare
Choose a tag to compare

⚠️This build is broken. Please use v4.0.2 instead.


In v4.0.1 <HideAt /> and <ShowAt /> now works fine on the largeAndBelow breakpoint. 👌

Thanks @spietrek for posting #35! 🙏

v3.1.2

22 Mar 08:26
Compare
Choose a tag to compare

In v3.1.2 <HideAt /> and <ShowAt /> now works fine on the largeAndBelow breakpoint. 👌

Thanks @spietrek for posting #35! 🙏

v4.0.0 - Breakpoints got hooked 🎣

16 Feb 16:29
Compare
Choose a tag to compare

🚧NOTE: Please be aware that the package has a peer dependency of react@16.8.x from now on!

v4.0.0-rc1

28 Jan 20:32
Compare
Choose a tag to compare
v4.0.0-rc1 Pre-release
Pre-release

Winter has come and so has some big changes! 🙂

Change log:

  • Moved to TypeScript
  • Using React Hooks 🎣
  • Rewrote Jest tests 🦁

🚧 Please be aware that the package has a peer dependency of react@16.8.x!

v3.1.1

04 Nov 09:57
Compare
Choose a tag to compare

Thanks to @jakobo, react-with-breakpoints now has debouncing. 🎉 It's going to prevent rerendering all the children on every resize event. Now the resize events will be debounced by 50ms.

v3.1.0

04 Oct 19:46
Compare
Choose a tag to compare

Thanks to @taylor-jones react-with-breakpoints now supports xlarge breakpoint! 🎉

See the new breakpoints shipped with the package here.

v3.0.0

30 Apr 14:41
Compare
Choose a tag to compare

NOTE: From now on, react-with-breakpoints requires React v16.3.

Changelog

  • Update to React v16.3.2
  • Make use of new context api, refactored withBreakpoints 👉<BreakpointsProvider />
  • Add support for old docs and v3
  • Update README.md

Resolved #26