Giter Club home page Giter Club logo

Comments (26)

yannbf avatar yannbf commented on June 12, 2024 36

Hey everyone! I started the changes in #122, and there's a canary release ready for you to try:

npm install [email protected]
# or 
yarn add [email protected]

It might take some time to promote it to latest (and therefore release a breaking change), so please use the canary and let me know how it goes!

from msw-storybook-addon.

Integrayshaun avatar Integrayshaun commented on June 12, 2024 8

Hey @szykov πŸ‘‹

We're just getting back from holidays. I'll talk to Yann about getting this merged over the next week or so.

Stay tuned πŸ“»

from msw-storybook-addon.

yannbf avatar yannbf commented on June 12, 2024 5

Hey everyone! Unfortunately there are still a few things to sort out before the addon releases breaking changes (v2.0.0) to latest.
We just released a beta, so please keep using the beta for the time being and we'll reach out once the final version is out!

yarn add msw-storybook-addon@beta

or

yarn add [email protected]

from msw-storybook-addon.

GeorgeWL avatar GeorgeWL commented on June 12, 2024 4

been using the canarary for a little bit now and haven't noticed any issues so far πŸ‘

from msw-storybook-addon.

bmulholland avatar bmulholland commented on June 12, 2024 4

FYI, I tried to upgrade from the canary to the beta and hit #131. Canary works fine.

from msw-storybook-addon.

g-farrow avatar g-farrow commented on June 12, 2024 2

this has been working well for me too @yannbf - been using it for a few weeks now

from msw-storybook-addon.

mocaffy avatar mocaffy commented on June 12, 2024 1

@CHE1RON
You can hide that warning by setting onUnhandledRequest: 'bypass' in InitializeOptions.

import { initialize } from 'msw-storybook-addon'

initialize({
  onUnhandledRequest: 'bypass'
})

https://github.com/mswjs/msw-storybook-addon?tab=readme-ov-file#configuring-msw

see also:
https://mswjs.io/docs/api/setup-worker/start#onunhandledrequest

from msw-storybook-addon.

CHE1RON avatar CHE1RON commented on June 12, 2024 1

That's EXACTLY what I needed, thank you very much! πŸ₯‡

from msw-storybook-addon.

CHE1RON avatar CHE1RON commented on June 12, 2024

Working great so far, thanks @yannbf!

from msw-storybook-addon.

szykov avatar szykov commented on June 12, 2024

any plans when it goes stable? thanks.

from msw-storybook-addon.

CHE1RON avatar CHE1RON commented on June 12, 2024

Same here. Canary works, although I receive warnings about requests "without a matching request handler":

image

from msw-storybook-addon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.