Umar Ahmed
Umar Ahmed
I am looking for a similar use case, but instead, using [react-native-maps](https://github.com/airbnb/react-native-maps) on Android. Would be interested if anyone got this working! 😄
Seems like it might require more investigation to try and support mdx based stories. In the meantime, is there any way to filter out the stories that use `mdx`? Right...
I'm pretty sure the `generateSnippets` script is based on the one [here in the storyshots addon](https://github.com/storybookjs/storybook/blob/next/addons/storyshots/storyshots-core/src/frameworks/configure.ts). One thing I noticed is that they mention that in order for that code...
@rbardini I can give it a go. The approach I'm going to try is described here: https://github.com/mdx-js/mdx/issues/171#issuecomment-409792001. I'm going to hijack Node's `require` and try to use something similar to...
Ran out of time today, but I managed to get something kinda working: https://github.com/rbardini/storybook-addon-playroom/compare/master...umar-ahmed:master The main issue I am seeing is that for React elements, it converts it to `MDXCreateElement`:...
> ``` > const MyToolbar = () => { > const editor = useCurrentEditor() > const bold = editor?.isActive('bold') > // do something with editor > } > ``` >...
> There's a nice [`use-sync-external-store`](https://www.npmjs.com/package/use-sync-external-store) package now that can shim for React 18 and < React 18. Example of how another state management library integrated it [pmndrs/valtio#234](https://github.com/pmndrs/valtio/pull/234) So I tried...
> @umar-ahmed Could you possibly post of a gist of integrating `use-sync-external-store` with `Editor`? There's not much documentation / examples on using `use-sync-external-store` surprisingly. 😅 @BrianHung something like this worked...
@bdbch was wondering if you had some time to take a look at this PR since your last message? Happy to clean things up to bring some of these improvements...
Sure, I can add a demo.