Skip to content

Ihongui/rn-assignment6-11004310

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

ID_STUDENT: 11004310

explaining my design choices

The header design for the "Open Fashion" app includes an elegant title image that showcases the app’s name, providing a sleek and branded look that aligns with the style seen in the reference image. Additionally, the header features a convenient search icon, making the search functionality easily accessible. In the product list section, each product is presented in a card format that includes an image, title, subtitle, and price, creating a clear and visually appealing layout for users to browse through. Each product card is also equipped with a remove icon—this intuitive feature allows users to effortlessly remove items from their cart, following common e-commerce design conventions.

how i implemented data storage

The implementation of data storage and state management for the cart in the "Open Fashion" app leverages the useState hook to handle the cart state, maintaining an array of products currently in the cart. To ensure the cart state is preserved across app sessions, AsyncStorage is integrated for persistent storage. When the component mounts, AsyncStorage loads any existing cart data, ensuring continuity for the user. Additionally, whenever items are added or removed from the cart, the updated cart state is saved back to AsyncStorage, ensuring consistent and reliable data persistence even when the app is closed and reopened.

screenshots of the app

image image image image image image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors