MERN (MongoDB Express.js React.js Node.js)을 사용하여 웹 및 모바일 인터페이스를 모두 갖춘 하이브리드 응용 프로그램을 만들 계획입니다. 저는 React.js와 React Native를 각각 웹과 모바일 인터페이스에 사용하고 있습니다.React.js와 React Native를 사용하여 하이브리드 응용 프로그램의 구조 구성
결국 나는 빨리 훈련시키고 싶은 팀 구성원을 추가하고 싶습니다.
앱의 아키텍처와 파일 구조가 유지 관리되고 확장 가능하며 재사용 가능하고 확장 가능한 방식으로 구성하려면 어떻게해야합니까?
미리 감사드립니다.
app //Main folder
- animations //I keep my Lottie/Animation components here
- components //Re usable components like buttons, forms, lists.
-- Component1 //Folder for this particular component
--- Component.js //Actual component class
--- index.js //Index that exports the component. Useful if you have multiple subcomponents
--- styles.js
- config //Environmemt and strings variables
- graph //This is where I keep my graph components
- hoc //Higher Order Components
- lib //Generic helpers that are re used across the apps, like function for test JSON objects, parsers, etc.
- navigation //Navigation components, layouts, screens, etc.
- core //This folder that exports the different components I support with the module.
.babelrc
index.ios.js
index.android.js
package.json
gulp.js //Gulp Config
jsconfig.js //Jest Config
내 대부분의 구성 요소가 상태 그대로 돌아 오는 사용하지 않는에만 의존 :
는
질문은 다소 의견을 기반으로하고 있습니다. medium.com을 보시면이 기사를 많이 읽으 실 수 있습니다. –