We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85e1f98 commit b1c4f4dCopy full SHA for b1c4f4d
packages/@react-aria/ssr/test/SSRProvider.ssr.test.js
@@ -0,0 +1,11 @@
1
+import {testSSR} from '@react-spectrum/test-utils';
2
+
3
+describe('useSSRSafeId', function () {
4
+ it('should render without errors', async function () {
5
+ await testSSR(__filename, `
6
+ import {useSSRSafeId} from '../';
7
+ const Test = () => <div id={useSSRSafeId()} />;
8
+ <Test />
9
+ `);
10
+ });
11
+});
0 commit comments