Skip to content

Instantly share code, notes, and snippets.

View phuoctrung-ppt's full-sized avatar

Trung Phan phuoctrung-ppt

View GitHub Profile

Senior Frontend Interview Questions

Some questions about frontend development that might be in your next job interview. The questions were formulated by @mauvieira, a super senior fullstack developer

General Frontend

  • What are the strategies we can use to optimize the performance of web applications?

    • CDNs, GraphQL (maybe) to reduce overfetching, improve backend performance, use SSR and/or SSG, lazy loading for loading assets only when it's needed, minimize and compress HTML, CSS and JS files, and optimize images by compressing and resizing them.
  • What are Web Vitals (LCP, FID, CLS)? And how are they applied in the real world?

@phuoctrung-ppt
phuoctrung-ppt / ExampleComponent.tsx
Created January 3, 2022 05:03 — forked from ladifire/ExampleComponent.tsx
Demonstrate how to use Error boundary component in Reactjs
import React from 'react';
import { withErrorBoundary } from 'components/common/MartyErrorBoundary';
export const ExampleComponent = () => {
return (
<div>
Component
</div>
);