This is a React Project called as React-Pro-LandingPage which typically deals with the responsive landing page for the fruits business. The project contains various sections such as About, Deals, Blogs, Contact, etc. The other details of the project are as follows:
Code Splitting is done at Routes
Functional Component with various hooks like useState(), useEffect(), useRef() and useContext() along with some custom hooks such as useIntersectionObserver().
Easily fetched data using own github hosted REST API.
Used ContextAPI for State Management.
Vanilla CSS
-
Files are well-organised.
-
Components, Context, images, styles are in separate folders making app structure clear to understand and scalable in nature.
-
Beautifully applied Code Splitting which boosts the performance of the app and shows the minified content to the users initially and only loads other contents if the user is interested to have a glance at them.
-
Dynamically rendered all the images, which implies images are optimised by webpack.
-
Intersection Observer has been introduced.
-
DOM Attributes such as children, firstElementChild, etc. have been injected while dealing with Intersection Observer.
-
Used .env.development and .env.production files for the Code Reusablility and environment determination.