Category Archives: Без рубрики

Typescript. Create project in webstorm

Lets take an example from previous post and do the following steps Add to project tsconfig.json and edit it like this for example, point the out dir Then alter the structure of files to the following alter index.html open typescript … Continue reading

Posted in Без рубрики | Comments Off on Typescript. Create project in webstorm

Typescript. Hello world

install typescript with or update if already been installed Now lets create some files… index.html index.ts in terminal lets compile our ts file and we will receive index.js file in our directory Contents of this file will be the following … Continue reading

Posted in Без рубрики | Comments Off on Typescript. Hello world

Algo. Anagrams

Is 2 strings are anagrams ? Decision through hash. Complexity O(n).

Posted in Без рубрики | Comments Off on Algo. Anagrams

Js. esLint + prettier in webstorm

as i understood esLint + Prettier will clean and beautify your code, but not all – some thigs you will fix manually. install eslint, better locally as below (source) if no package.json create it through the terminal wizard with command … Continue reading

Posted in Без рубрики | Comments Off on Js. esLint + prettier in webstorm

Js.React.Redux.CreateSlice

simplification of work with actions, reducers, etc… Source

Posted in Без рубрики | Comments Off on Js.React.Redux.CreateSlice

JS.React. Change color of SVG icon

Source Add the SVG image using an <img> tag. To filter to a specific color, use the following Codepen(Click Here to open codepen) to convert a hex color code to a CSS filter: For example, output for #00EE00 is Add the CSS filter into this class.

Posted in Без рубрики | Comments Off on JS.React. Change color of SVG icon

Html. Input with clear button

Input with clearButton

Posted in Без рубрики | Comments Off on Html. Input with clear button

JS.React.Counter on hooks

Source And counter from Rei on his blog and the source code on github

Posted in Без рубрики | Comments Off on JS.React.Counter on hooks

Js.Redux.Use {} for store rather than []

Source

Posted in Без рубрики | Comments Off on Js.Redux.Use {} for store rather than []

Js.Redux.Thunk

Documentation SimpleExample

Posted in Без рубрики | Comments Off on Js.Redux.Thunk