Responsive subcription, React Router Dom, Tailwind and Typescript
Design comparison
Solution retrospective
Hi there 😁 Need a feedback, in this solution i integrated react-router-dom for redirect, tailwind for styles and responsive layout. chek it out ╰(°▽°)╯
Community feedback
- @petritnurediniPosted 10 months ago
Congratulations on completing your project! It's fantastic to see your dedication and effort in building a responsive and interactive application. Here are some brief recommendations to further enhance your work:
-
State Management:
- Use of State: Good use of React state for handling screen width and form inputs. Consider using context or Redux for more complex state management.
-
Responsive Design:
- Handling Resize: Instead of manually handling window resize, consider CSS media queries for responsiveness, which are more efficient.
-
Form Validation:
- Email Validation: Implement more robust email validation logic. Regex can be useful for this purpose.
-
Routing and Componentization:
- React Router: Well done using React Router for navigation. Ensure that your routes are structured logically.
- Component Breakdown: Good job breaking down the UI into components. Make sure each component has a single responsibility.
-
Performance:
- Optimization: Use React's lazy loading and suspense for loading components to improve performance.
-
Code Readability:
- Consistent Formatting: Keep your code formatting consistent for better readability.
-
References for Learning:
- React Best Practices: React Documentation
- CSS for Responsiveness: CSS Tricks
- Form Validation: Regexr
Keep up the hard work and continue building amazing things! Your progress is impressive. Each project brings new challenges and learning opportunities. Stay curious and keep exploring new technologies and concepts!
Marked as helpful1 -
Please log in to post a comment
Log in with GitHubJoin 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