mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Update rendering stories with info
This commit is contained in:
parent
5873b7e513
commit
ec7233696e
@ -4,6 +4,7 @@ export default {
|
||||
title: 'Core/Rendering',
|
||||
};
|
||||
|
||||
// NOTE: in our example apps each component is mounted twice as we render in strict mode
|
||||
let timesMounted = 0;
|
||||
export const Counter = () => {
|
||||
const countRef = useRef();
|
||||
|
Loading…
x
Reference in New Issue
Block a user