mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-10 00:12:22 +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',
|
title: 'Core/Rendering',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// NOTE: in our example apps each component is mounted twice as we render in strict mode
|
||||||
let timesMounted = 0;
|
let timesMounted = 0;
|
||||||
export const Counter = () => {
|
export const Counter = () => {
|
||||||
const countRef = useRef();
|
const countRef = useRef();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user