Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Discussion] winwin-app Issues #1

Closed
L2HYUNN opened this issue Oct 24, 2022 · 1 comment
Closed

[Discussion] winwin-app Issues #1

L2HYUNN opened this issue Oct 24, 2022 · 1 comment
Assignees
Labels
Status: Done 리뷰까지 완료 된 이슈 Type: Question 유형: 질문

Comments

@L2HYUNN
Copy link
Member

L2HYUNN commented Oct 24, 2022

Issues

1. Yarn Classic

React-Native 환경에서 yarn berry2가 정식으로 지원되지 않아 ( 더욱 명확히는 pnp를 지원하지 않음) 대신 yarn classic을 적용해놓았습니다.

Related Issue: react-native-community/cli#27

Why doesn’t PnP work with React Native?

To put it simply: React Native makes assumptions that rely on the existence of the node_modules folder.
Since there is no node_modules in PnP, these references need to be updated.

In late 2018, a Github issue was opened on react-native-community/cli to track progress on PnP support. However — almost four years later — there’s not been much progress.

Former Meta engineer Christoph Nakazawa tweeted earlier this year that a switch Yarn Berry had been attempted internally, but was abandoned due to technical issues. It seems like PnP support is not a priority at Meta, so the best we can do for now is work around it.

아래의 article을 참고하면 공식적인 RN의 지원 없이 yarn berry가 가지는 이점을 가져갈 수 있어 보이지만 적용시 프로젝트 진행중에 다른 오류가 발생할 수 있을 거 같아 일단 적용하지 않았습니다.

reference: How to use Yarn 3 with React Native

2. Project Setting

기존 client project와 동일하게 prettier, eslint등 기본 설정이 필요해보입니다.

@doyoonear @hwangyena

@L2HYUNN L2HYUNN self-assigned this Oct 24, 2022
@L2HYUNN L2HYUNN added the Type: Question 유형: 질문 label Nov 23, 2022
@L2HYUNN
Copy link
Member Author

L2HYUNN commented Nov 23, 2022

yarn classic 사용으로 결정되었습니다.

@L2HYUNN L2HYUNN closed this as completed Nov 23, 2022
@L2HYUNN L2HYUNN added the Status: Done 리뷰까지 완료 된 이슈 label Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Done 리뷰까지 완료 된 이슈 Type: Question 유형: 질문
Projects
None yet
Development

No branches or pull requests

1 participant