v8.3.10
- feat: onDisabledRemoveStorybook added to withStorybook to make it easier to remove storybook from the bundle #622
- feat: .d.ts for withStorybook for use with jsdoc
- fix: SearchResults no results text causes error logs on web #622 thanks @tlow92 for the report
- fix: _forceRerender in View could be undefined in rare cases #622
/**
* @type {import('@storybook/react-native/metro/withStorybook').WithStorybookOptions}
*/
const storybookOptions = {
enabled: process.env.STORYBOOK_ENABLED === 'true',
// set this to true to remove storybook from the bundle when "enabled" is set to false
onDisabledRemoveStorybook: false,
};
module.exports = withStorybook(finalConfig, storybookOptions);
Thanks to @trajano for catching the force render issue and suggesting the .d.ts file #626
Full Changelog: v8.3.9...v8.3.10