Skip to content

Instantly share code, notes, and snippets.

@danilosilvadev
Last active October 9, 2019 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danilosilvadev/c628f8e3fb15e4d6c471503b6b33c78e to your computer and use it in GitHub Desktop.
Save danilosilvadev/c628f8e3fb15e4d6c471503b6b33c78e to your computer and use it in GitHub Desktop.

Advanced Interview questions

Axios interceptor, fetchAPI

Lazyload, suspense, placeholder component

Errorbondarie

Webworker

LocalStorage, sessionStorage, indexDb

Auth token?, refreshToken, access token

Devtools profileID, audits, reduxtools, profiler

PWA Service worker

Authentication types: jwt, cookies, basic

Advanced hooks: useMemo, useEffect, useContext, useCallback, useRef, useReducer, useLayoutEffect

How do you measure performance in web apps and mobile apps?

realtime

closures, for of, for in, Object.freeze, set, get, classes

All kind of promises.

CSS performance

Why to use try catch instead .catch

General performance

websocket

react memo

It is a high order component that basicaly checks if the component should re-render. If really is receiving some changes, so its parent can re-render and keeps it from re-render if is not necessary. Source

You use it by exporting the component like this:

 export default React.memo(ComponentName)

firebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment