Open in app

Sign In

Write

Sign In

Ali Toshmatov
Ali Toshmatov

108 Followers

Home

About

Pinned

Handling token-based authentication and refreshing token in Axios, Axios interceptors

If you are lazy like me and don’t want to read the whole article, here is GitHub gist containing cheatsheet for a refreshing token using Axios interceptors — https://gist.github.com/alitoshmatov-novalab/9ba256a7981da4f397072f0679f4344e#file-axios-js When I was a beginner in the field I had no idea how authentication works on the client-side and it took…

Axios

6 min read

Handling token-based authentication and refreshing token in Axios, Axios interceptors
Handling token-based authentication and refreshing token in Axios, Axios interceptors
Axios

6 min read


Published in

Geek Culture

·Oct 11, 2021

Move your sidebar to the right side

Have you ever thought sidebar in VS code might distract you, I do, and I have been. I tend to collapse and open the back sidebar a lot, and when it switches its state, your whole code editing area has to jump, and it kinda bothers me, I think most…

Vscode

2 min read

Move your sidebar to the right side
Move your sidebar to the right side
Vscode

2 min read


Aug 11, 2021

Postman to Typescript

Postman to code — https://postman-to-code.netlify.app/ As a frontend engineer, you have probably used Postman, which is a very helpful tool to preview Apis. Most of the time, the backend team prepares all postman collections beforehand for frontend developers. Based on that data you write your code. If you have worked…

Postman

2 min read

Postman to Typescript
Postman to Typescript
Postman

2 min read


Jun 29, 2021

Interview questions for Javascript developers(Epam Systems)

Quite a while ago I was invited to have an interview for the JS developer position at EPAM Systems. Below I am going to share questions I had and leave some comments on them. These are common questions for javascript developers, so this article should help you to understand how…

Interview

3 min read

Interview questions for Javascript developer(Epam S
Interview questions for Javascript developer(Epam S
Interview

3 min read


Jun 24, 2021

React/Frontend roadmap

Basics HTML Html is essential to get started in frontend development, knowing what is a tag, element, attribute, what kind of events there are in the HTML element is helpful, especially, it helps you easily understand documentations. Some of the must-know elements: h1-h6, p, b, img, video, i, span, div, form, input…

Frontend

2 min read

React/Frontend roadmap
React/Frontend roadmap
Frontend

2 min read


Apr 10, 2021

Lifecycle metodlar huklar yordamida, yoki nega useEffect metodidan foydalanishni boshlashingiz kerak.

Klass komponentlardan, funksional komponentlarga o’tish nisbatan qiyin bo’lishi mumkin, ayniqsa siz lifecycle metodidan juda ko’p foydalansangiz.Lekin sizni ishontirib aytishim mumkin, funksional komponentlardan foydalanish juda ham oson. Ba’zi bir, juda ham kam holatlarda ishlatiladigan metodlardan funksional komponentlar ichida foydalana olmasak ham, ushbu maqolada doimiy ishlatiladigan va sizga hayotiy loyiharda foydasi tegadigan…

React

3 min read

Lifecycle metodlar huklar yordamida, yoki nega useEffect metodidan foydalanishni boshlashingiz…
Lifecycle metodlar huklar yordamida, yoki nega useEffect metodidan foydalanishni boshlashingiz…
React

3 min read


Apr 8, 2021

Navigation in React.js, or useParams, useHistory, useLocation hooks — part 2

In the first part, we have seen how to set up our client-side routing using react-router-dom. In this part, we are going to explore some of the very useful hooks from react-router-dom. useParams Have you ever noticed that most websites use dynamic routes, for example, if you visit an article on…

React

3 min read

Navigation in React.js, or useParams, useHistory, useLocation hooks — part 2
Navigation in React.js, or useParams, useHistory, useLocation hooks — part 2
React

3 min read


Mar 29, 2021

Navigation in React.js, or React route— part 1

All codes below in codesandbox — https://codesandbox.io/s/exciting-cloud-e2ts7?file=/src/App.js:248-475 If you are a fresh beginner in React.js this topic might be a little bit complex for you, but I will do my best to help you build a foundation for your future projects. So unlike server-side rendering, react uses client-side rendering which…

React

3 min read

Navigation in React.js, or React route— part 1
Navigation in React.js, or React route— part 1
React

3 min read


Mar 23, 2021

Getting started with Sass in React.js — part 2

You can check out the first part here. Extracting reusable code Like you do in most programming languages you can extract fragments of your code to make it reusable. In Sass, it is pretty simple let's say we are going to center any child elements using flex, we can write: @mixin center{…

Sass

2 min read

Sass

2 min read


Mar 22, 2021

Getting started with Sass in React — part 1

Sass is a Syntactically Awesome Style Sheets, which means is that it is just an improved and feature-rich version of CSS, and at the end, it compiles down to CSS. This tool makes your work much easier, you write less, you make your code reusable and more readable. Setup in React Before we…

React

3 min read

Getting started with Sass in React — part 1
Getting started with Sass in React — part 1
React

3 min read

Ali Toshmatov

Ali Toshmatov

108 Followers

React dev.

Following
  • Matt Croak Code

    Matt Croak Code

  • Stéphanie Walter

    Stéphanie Walter

  • Kenneth Reilly

    Kenneth Reilly

  • Abdulbosit Komilov

    Abdulbosit Komilov

  • Addy Osmani

    Addy Osmani

See all (119)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams