Zack Lynn-Philipps
Zack Lynn-Philipps
The autofix on Windows also adds backslashes like `components\blah` when it should be `components/blah`.
@james-portelli-cko Probably way too late, but what helped me was using `lodash.isEqual` to compare the previous value with the new value and only set the new value if there was...
Thanks for your work, @probablyup. I hope it gets merged. Although, it doesn't really address the need to format prop values on the fly as an escape hatch. I believe...
Is there a PR for this? I don't see one linked.
> OTOH - this really could be handled in the same way for any prop. People probably rarely want to see the react element's internal structure in their stringified trees...
For others that wind up here, this is the answer: https://github.com/softwareventures/resolve-typescript-plugin If you use `baseUrl` / `pathMapping`, you will need to redefine your aliases using `webpackFinal` & `config.resolve.alias` since `tsconfig-paths-webpack`...
On my end, the Canvas is taking about 5 seconds to re-render after a prop is changed in ArgsTable on DocsPage.
^ should specify that's if there are like 12 stories on the page, which I have. With just one story, the re-render is instantaneous even in dev mode.
@shilman thanks! Tested and counted this time. Seems like it's taking 1-11 seconds to re-render in dev mode with several stories on each prop change. I can't discern any rhyme...
Just chiming in with a use case I have... We have several styles of buttons, one of which is "white." It's more useful to preview that against a dark background....