---
title: "Discussion on \"React auth action\" | Hashnode"
description: "Discussion on \"React auth action\". import axios from \"axios\";\nexport const AUTH_START = \"AUTH_START\";\nexport const AUTH_SUCCESS = \"AUTH_SUCCESS\";\nexport const AUTH_FAIL = \"AUTH_FAIL\";\nexport const LOGOUT = \"LOGOUT\";\n\nconst authStart = () => {\n  return {\n    type: AUTH_START,\n  };\n};\n\n..."
url: "https://hashnode.com/posts/react-auth-action/60178a6c6f46cc1ff950ac86"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [React auth action](https://thilina.hashnode.dev/react-auth-action?utm_source=hashnode&utm_medium=feed)

import axios from "axios"; export const AUTH\_START = "AUTH\_START"; export const AUTH\_SUCCESS = "AUTH\_SUCCESS"; export const AUTH\_FAIL = "AUTH\_FAIL"; export const LOGOUT = "LOGOUT"; const authStart = () => { return { type: AUTH\_START, }; }; ...

Feb 1, 2021 · 2 min read · thilina.hashnode.dev  
Read the article

## Written by

[thilina dilshan](https://hashnode.com/@Thilina)

@Thilina

  
[View profile](https://hashnode.com/@Thilina)

Software developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
