Skip to content

Conversation

@devongovett
Copy link
Member

We had one from @react-aria/ssr -> @react-aria/utils -> @react-aria/ssr. Fixed it and added a lint script to check this so it doesn't happen again.

@adobe-bot
Copy link

Build successful! 🎉

*/

import React, {ReactNode, useContext, useMemo, useState} from 'react';
import {useLayoutEffect} from '@react-aria/utils';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this the really important place for it, the whole reason we have a useLayoutEffect hook in react-aria/utils is to fix problems with it in SSR?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you see the comment below? I think this one is an exception

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i missed the comment

@devongovett devongovett merged commit 8774f6e into main Feb 14, 2022
@devongovett devongovett deleted the circular-dep branch February 14, 2022 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants