Iurii KomarovEnums in TypeScriptThere are three ways how to represent enumerated values in TypeScript and it’s not always clear for newcomers which one to use.Jun 7, 2020Jun 7, 2020
Iurii KomarovPeriodically call function in mounted React component with a hookIt wasn’t easy to find a working solution on how to run a memo-safe function periodically from a functional component.Jun 4, 2020Jun 4, 2020
Iurii KomarovDerived states in functional ReactReact offers an excellent design approach for building stateful components which may infer their values from parent components.Jun 4, 2020Jun 4, 2020
Iurii KomarovReact keys and deferred self re-renderToday I was working on yet another date picker React component with an ability to exclude “today” from options allowed for selection which…Jun 3, 2020Jun 3, 2020