You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A desktop app (or desktop Hoist components) should never import from the /mobile/ package, and vice-versa. Unfortunately this is easy to do accidentally w/IDE import suggestions and the like.
The build should detect this case and fail. I don't think we should ever have a bundle including imports from both /desktop/ and /mobile/, which seems like it would make this case easy to detect.
The text was updated successfully, but these errors were encountered:
Did not review in depth, but appears that this would do a pretty good job in hoist-react itself where we can setup rules for the known top-level paths for desktop and mobile. Apps could do the same for their platform-specific app directories.
A desktop app (or desktop Hoist components) should never import from the /mobile/ package, and vice-versa. Unfortunately this is easy to do accidentally w/IDE import suggestions and the like.
The build should detect this case and fail. I don't think we should ever have a bundle including imports from both /desktop/ and /mobile/, which seems like it would make this case easy to detect.
The text was updated successfully, but these errors were encountered: