Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Best Practices in Frontend Development | Gurzu

Gurzu
September 04, 2024

Best Practices in Frontend Development | Gurzu

On August 23rd Front End engineer Mr. Bibash Poudel joined us for an inishgtful session on the fundamentals of frontned development and best practices. He covered key topics, shared valuable tips, and provided practical advice to help our team enhance their frontend skills and build more efficient web apps.

Gurzu

September 04, 2024
Tweet

More Decks by Gurzu

Other Decks in Programming

Transcript

  1. Best Practices in Frontend Development Ensuring High-Quality, Performance, and Scalable

    Web Applications Bibash Poudel Full Stack Engineer 23, August 2024
  2. Gurzu Confidential Introduction Architecture Key Frontend Best Practices Responsive Design

    Optimized Performance SEO Optimization State Management Accessibility Security Conclusion  2 Table of Content
  3. Gurzu Confidential Enhance performance. User experience. Maintainability, and scalability of

    web applications. Impact on SEO and accessibility. User engagement. Success across devices and browsers.  3 Introduction
  4. Gurzu Confidential Mobile First Design Test your design on various

    devices and screen sizes. Use CSS framework (Tailwind, Bootstrap)  5 Key Frontend Best Practices Responsive Design
  5. Gurzu Confidential Minimixed HTTPS Request Optimized Image. Minify CSS, JavaScript,

    and HTML files. Use HTTPS 2 Compress the API request PageSpeed Insights: Google's Page Speed measurement tool. Search Console: Google Search, Core Web Vitals report.  6 Key Frontend Best Practices Optimized Performance
  6. Gurzu Confidential Use descriptive, keyword-rich meta tags, meta description and

    titles Ensure your site has a logical structure with header tags (H1, H2, H3). Implement schema Markup. Optimize URLs  7 Key Frontend Best Practices SEO Optimization
  7. Gurzu Confidential Start with built-in tools like useState and useReducer

    for simple cases Use Redux, MobX, Recoil, for complex state management Avoid overcomplicating your state management solution. Global State Single Source of Truth Principle Immutable  8 Key Frontend Best Practices State Management
  8. Gurzu Confidential Use semantic HTML elements to convey meaning and

    structure Provide alternative text for images Ensure sufficient color contrast and text size. Implement keyboard navigation and screen reader compatibility.  9 Key Frontend Best Practices Accessibility
  9. Gurzu Confidential Input sanitization and validation. HTTPS for secure connections

    Content Security Policy (CSP). Avoid exposing sensitive data in client code. SSR Penetration testing Dependency management  10 Key Frontend Best Practices Security
  10. Gurzu Confidential Choose the right architecture Mobile first design SEO

    Optimization (compress request, use HTTP2) LCP (2.5 sec)  11 Conclusion