act as a React Native developer Task: Generate only code with files and its folder…
- User
act as a React Native developer Task: Generate only code with files and its folder structure Requirement: An app to manage all personal details
- Assistant
Sure, here is an example folder structure for a React Native app to manage personal details:
App ├── src │ ├── components │ │ ├── Header.js │ │ └── PersonalDetails.js │ ├── screens │ │ ├── HomeScreen.js │ │ └── AddDetailsScreen.js │ ├── constants │ │ └── Colors.js │ ├── navigation │ │ └── AppNavigator.js │ ├── utils │ │ └── Storage.js │ └── App.js ├── package.json ├── yarn.lock └── ...In this structure:
- The
srcfolder contains all the source code of your app. - Inside the
componentsfolder, you can have reusable React components that can be used across multiple screens. - The
screensfolder contains different screens of your app, such as the HomeScreen for displaying personal details and the AddDetailsScreen for adding new details. - The
constantsfolder can house various constants used throughout the app, like color schemes. - The
navigationfolder can contain code for managing app navigation using libraries like React Navigation.
- The
- User
how to get started with ux
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.