Développeur Fullstack Spécialisé en JavaScript | React, Angular, Vue.js, Node.js | Liferay DXP | Scrum Master
I’m currently learning...Expert en JavaScript et frameworks de développement web, développeur fullstack certifié Liferay DXP et Scrum Master PSM I, avec une expertise approfondie en React, Angular, Vue.js, Next.js et Node.js. Mon objectif est de concevoir et de développer des solutions innovantes et performantes, répondant
Latest solutions
Reponsive Blogr landing page
#next#react#bootstrapSubmitted 6 months agoI don't have any specific needs at the moment.
Responsive Multi-Page Space Tourism
#framer-motion#next#react#tailwind-cssSubmitted 7 months agoI would appreciate help with optimizing the performance of animations created with Framer Motion in NextJS. Additionally, any advice on best practices for managing state and ensuring smooth page transitions would be very helpful.
Responsive Multi-Step Form
#react#tailwind-cssSubmitted 8 months agoHelp is always welcome, especially with the multi-step form and its mechanism. I’m looking for ways to make it faster and more intuitive, for example, by using routers and a custom URL system.
Countries REST API with Color Theme Switcher
#react#tailwind-css#react-routerSubmitted 8 months agoI don't have any specific needs at the moment, except if someone has an alternative or a different library from Tailwind CSS for better handling responsiveness (excluding Bootstrap).
Reponsive Job Listings with Filtering
#react#tailwind-cssSubmitted 8 months agoI don't have any specific needs at the moment, except if someone has an alternative or a different library from Tailwind CSS for better handling responsiveness (excluding Bootstrap).
Latest comments
- @gabrielezizzari02Submitted 7 months ago@ZahirHaniche-devPosted 7 months ago
Congratulations on this magnificent project, it is very inspiring and references many ReactJS concepts. I will keep your project in mind to learn more. Once again, congratulations and best of luck for the future.
0 - @abdul-haseeb123Submitted 7 months agoWhat are you most proud of, and what would you do differently next time?
I am very much proud of how I integrated shadcn ui select component which is using Radix UI Select Primitive, Although I am thinking of creating my own select component using Radix UI next time.
What challenges did you encounter, and how did you overcome them?The challenge that I first encounter was how to handle json data and use typescript to only fetch the data that will be displaying on the screen and filter out other unnecessary properties from the data. Here is how I tackle this problem.
import data from "./data.json"; const countries: CountryList[] = data.map((country) => { return { name: country.name, population: country.population, region: country.region as Region, capital: country.capital, flags: country.flags, }; }); ```ts **As for country detail page, here is how get the data:** ```ts export const getCountry = (name: string): CountryDetail => { const country = data.find((c) => c.name.toLowerCase() == name.toLowerCase()); if (!country) throw new Error(`Country with name ${name} does not exists`); let borderCountries = country.borders?.map((border) => getCountryByAlpha3Code(border) ); return { name: country.name, nativeName: country.nativeName, topLevelDomain: country.topLevelDomain, population: country.population, currencies: country.currencies, region: country.region, subregion: country.subregion, languages: country.languages, capital: country.capital, borderCountries: borderCountries, flags: country.flags, }; }; ```ts
@ZahirHaniche-devPosted 7 months agoFantastic project, excellently executed and completed. Kudos to you, my friend.
I have a crucial observation regarding the data reloading with each action on the site. I recommend you check out my project to see that the only loading I perform is fetching the list when we first access the application. In your case, you make API calls every time you trigger or use a feature, such as the filter or the detail page.
In my approach, I use a reducer with a getData function that I call once. Then, for filtering and other operations, I manipulate the array that I retrieve as a state.
Marked as helpful1 - @alanb4rtSubmitted 8 months ago@ZahirHaniche-devPosted 8 months ago
I really like how you structured the components. Congratulations on your project and keep up the good work! 😊
0 - @mongkolkhanit-dSubmitted 8 months agoWhat are you most proud of, and what would you do differently next time?
I experimented with HTML and CSS on my own and got it right.
What challenges did you encounter, and how did you overcome them?I experimented with flex and grid to get the results I wanted, and eventually I settled on flex.
What specific areas of your project would you like help with?I have insecurities about my coding. I'm not sure if it works or not.
@ZahirHaniche-devPosted 8 months agoI have a few comments on your code. Firstly, you should create a /src folder to have a more logical architecture. Secondly, create a /styles folder within /src and put your CSS file in it.
Congratulations on your project and keep up the good work! 😊
0 - P@astnioSubmitted 8 months agoWhat are you most proud of, and what would you do differently next time?
I am not sure what else I would do differently next time, as all I used was basic CSS and HTML.
What challenges did you encounter, and how did you overcome them?It was difficult to find out what the challenge asked for when it said "try not to use media queries." I had a hard time figuring that out, and ended up using media queries anyway.
What specific areas of your project would you like help with?I would like to know more about solutions not using media queries for changing the font size at different screen sizes.
@ZahirHaniche-devPosted 8 months agoGreat job on your project, my friend; the result is really impressive. After reviewing your code, I suggest implementing Vite, and perhaps even migrating your application to ReactJS to gain experience with this library. Once again, well done, and best of luck moving forward!
0 - @evertznerSubmitted 8 months ago@ZahirHaniche-devPosted 8 months ago
Honestly, congratulations my friend on your project. It is not only well-structured but also highly functional. I’ll be keeping it as inspiration, and once again, I want to congratulate you. There’s nothing more to add after seeing your code.
1