Infura cannot connects from a React component

I was looking for a boilerplate to use infura from a react component and I didn’t find it.

I did my research I a found that the behavior of infura in this case in buggy suspicious.

I’ve opened a repo in github to explain in details how to reproduce the bug.

Instructions in the README.md of the repo.

The Infura provider url should be https://ropsten...

It looks like in the code it is http://ropsten...

1 Like

:flushed: You are absolutely right!! Thank you!!!

Doesn’t react run on the client? You don’t want people knowing your Infura endpoint, isn’t it?