Iurii Komarov·Jun 7, 2020Enums in TypeScriptThere are three ways how to represent enumerated values in TypeScript and it’s not always clear for newcomers which one to use.
Iurii Komarov·Jun 4, 2020Periodically 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.
Iurii Komarov·Jun 4, 2020Derived states in functional ReactReact offers an excellent design approach for building stateful components which may infer their values from parent components.
Iurii Komarov·Jun 3, 2020React 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…