Don Hsieh

Results 8 comments of Don Hsieh

The main reason we decide to split the story into files is that they tend to be too big. Take [an MUI "story"](https://mui.com/zh/material-ui/react-dialog/#full-screen-dialogs) for example, the source code is at...

I just made a repo (https://github.com/donrsh/ladle-split-story-example) to prove that `?raw` loader DO WORK if we define a story to show the code. Seems there is no problem in serve, build,...

I encountered a problem due to this recently. The situation is that I send two requests at once while mocking only the first one. I've written a wrapper function to...

As a workaround, I add an invisible field, and call `form.change` to set that invisible field along with fields mutation calls to force `dirtySinceLastSubmit` update.

Hi, @harlan-zw, thanks for the help. By following the instruction, here's the results 1. There is a line saying the `windi.config.js` is used: ![擷取1](https://user-images.githubusercontent.com/7490144/131768321-93771f62-b602-441b-b4df-d5bb62d0d782.PNG) 2. No output to terminal after...

Hi, I met this bug earlier. I came up with a workaround, and the basic concept is: 1. Clear the errored-query cache if error occurs. Thus, everytime when the component...

@TkDodo Thanks for advice, I adjust the PoC codes: ```ts const queryClient = new QueryClient({ queryCache: new QueryCache({ onError(error, query) { setTimeout(() => { queryClient.removeQueries(query.queryKey); }, 1000); } }), defaultOptions:...

I came up with a workaround. The idea is setting a key on the Rnd element, and update the key if the `onResizeStop` doesn't commit the resize, to clean up...