---
title: "Discussion on \"Connecting MetaMask's web3 to a React app\" | Hashnode"
description: "Discussion on \"Connecting MetaMask's web3 to a React app\". If you want your React app to connect to MetaMask's web3, const web3 = new Web3(window.web3.currentProvider);will no longer work as suggested.\nWe need to MetaMask to authorize the connection which is a manual process by clicking on a button to author..."
url: "https://hashnode.com/posts/connecting-metamasks-web3-to-a-react-app/5ffc2904aa5c467fe155a992"
---

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

Discussion

# [Connecting MetaMask's web3 to a React app](https://anjanesh.dev/connecting-metamasks-web3-to-a-react-app?utm_source=hashnode&utm_medium=feed)

If you want your React app to connect to MetaMask's web3, const web3 = new Web3(window.web3.currentProvider);will no longer work as suggested. We need to MetaMask to authorize the connection which is a manual process by clicking on a button to author...

Jan 11, 2021 · 1 min read · anjanesh.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Anjanesh Lekshminarayanan](https://hashnode.com/@anjanesh)

@anjanesh · Navi Mumbai, MH

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

Web UI Engineer

I am a web consultant from Navi Mumbai. Mainly dealt with LAMP stack, now into Django and getting into Laravel and Cloud. Founder of nerul.in and gaali.in

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
