Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 7 months ago

DevJobs App

react, vite, vitest, sass/scss
P
cepoumian•160
@cepoumian
A solution to the Devjobs web app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

Implementing a comprehensive job filtering system while maintaining a solid user experience across different devices.

The implementation of theme switching based on user preferences was particularly satisfying.

I'm also satisfied of adopting React Query for data management, which significantly improved how the application handles loading states, caching, and error handling compared to traditional fetch approaches.

What challenges did you encounter, and how did you overcome them?

Challenges:

Theme implementation: Creating a responsive dark/light mode system that respected both user preferences and manual toggles proved more complex than anticipated, particularly with nested component styling.

Filter functionality: Building a filter system that could handle multiple parameters simultaneously while maintaining performance was challenging.

Type-safe routing: Implementing TanStack Router with proper type safety for dynamic job detail pages required a learning curve.

Responsive design: Ensuring the application looked and functioned well across all device sizes presented layout challenges, especially with the filter components.

How I overcame them:

I created a robust theming system using Sass mixins that applied theme variables contextually, allowing for clean component-level styling while maintaining the global theme context.

React Query helped solve performance issues by efficiently caching job data, while I implemented debounced filter functions to prevent excessive re-renders during text input.

I dedicated time to thoroughly study the TanStack Router documentation and examples, which helped me understand how to properly structure routes and handle parameters with type safety.

For responsive challenges, I adopted a mobile-first approach and systematically addressed layout issues at each breakpoint, using Sass mixins to manage media queries consistently.

What specific areas of your project would you like help with?

Optimizing React Query implementation: I'd appreciate guidance on implementing more advanced patterns like optimistic updates and infinite scrolling for the job listings.

Accessibility improvements: I want to ensure the application is fully accessible but could use help with proper ARIA attributes and keyboard navigation, especially for the filter components.

Performance optimization: While the application performs well for the current dataset, I'd like advice on how to handle larger datasets efficiently, particularly with filtering operations.

Testing strategy: I need guidance on setting up a comprehensive testing approach, especially for components that rely on React Query and TanStack Router.

Filter UX enhancement: I'd like feedback on improving the filter interaction and potentially implementing saved filters or search history functionality.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on cepoumian's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License