@OGShawnLee
Posted
Hey Jamiu. Good job!
If you have to build a fairly simple React project I highly recommend using the Vite React template instead. It is much faster than Create React App because it only downloads the core dependencies and on top of that Vite is really fast for hot module replacement and offers other cool features.
About the input maybe you should use debouncing or an onChange event instead of keydown.
Good luck!
Marked as helpful
@murytarlah
Posted
@OGShawnLee , thanks man. I've had of it would played around with it would definitely try it out
@OGShawnLee
Posted
@murytarlah Hello! I recently completed the challenge as well. I think what lowers the performance the most is having to render and load 250 images! I implemented a pagination component and I choose to only render 16 countries at once and it helped.
Maybe you should try paginating your countries.
Hope this helps.