Typescript. How to get Enum value by key indexOf course, you always can do this:Apr 23, 2022Apr 23, 2022
Typescript. How to create multiple interfaces for one objectTypeScript Playground LinkJun 11, 2020Jun 11, 2020
Why React key it’s so important!I have a problem with incorrect calculations of the container scroll height when adding new React nodes inside it.Mar 20, 2019Mar 20, 2019
Thrift types — best practice1. Never reuse a numeric id 2. Never reuse a numeric id 3. Never reuse a numeric id 4. Explicitly define numeric ids for your enum values…Feb 8, 20191Feb 8, 20191
Check it, while you Regex it!Quick common commands to remember: ^ → beginning $ → end \w → word \b → word edgeNov 15, 2018Nov 15, 2018
Quote: (c) Robert C. Martin (Clean Code)“The proper use of comments is to compensate for our failure to express ourself in code. Note that I used the word failure. I meant it…Apr 24, 2018Apr 24, 2018
TypeScript. How to rewrite type definition file (file.d.ts) of any node_modules packageIf you have some node_modules package with the very old /odd / bad definition of TypeScript, you can easily rewrite it so your JS code will…Dec 19, 20174Dec 19, 20174
Good example of React onChange bindingTo improve the performance of react app components which has any of `onChange` eventsNov 27, 2017Nov 27, 2017