mock-match-media

Mock window.matchMedia for tests or node (by Ayc0)

Stats

Basic mock-match-media repo stats
1
3
0.0
8 months ago

Mock-match-media Alternatives

Similar projects and alternatives to mock-match-media

  • GitHub repo styletron

    :zap: Toolkit for component-oriented styling

  • GitHub repo react-responsive

    🔍 <Only /> displays some contents for particular screen sizes (by bloczjs)

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better mock-match-media alternative or higher similarity.

Posts

Posts where mock-match-media has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-03-12.
  • @blocz/react-responsive v3 is out
    dev.to | 2021-03-12
    The library by itself doesn’t provide any mocks for window.matchMedia for SSR. But if you use one, like mock-match-media, @blocz/react-responsive will listen to it.