Hello sirs i am using thirdweb to make it easier to connect to metamask as a dapp but i am stuck as all ive seen yet is using react hooks but how do i actually create a contract conditionally (useContract does not work as it is a hook) and / or how to get the current provider that thirdweb has connected to in the window as i have multiple wallets meta/safepal etc so i want the provider that thirdweb chose can i use window.ethereum for it?
May 25, 2023, 5:35 PM
your question is too verbose and confusing
May 25, 2023, 5:39 PM
I'm sorry. Ok React is needed ok. Will take that into consideration. Just figuring the steps to learn.
May 25, 2023, 5:43 PM
if project A relies on an obsolete dep B, that won't make project A obsolete
many active projects still use dead Redux
many active projects still use dead Redux
redux is dead, there are many articles about it
php is dead too, but many can't get over it
May 25, 2023, 5:49 PM
Also wrong 🤣🤣
May 25, 2023, 5:50 PM
we're not same
your opinion is different
May 25, 2023, 5:51 PM
yes that's apparent. But I really don't get what we're supposed to migrate to from react query
what is the point of rebuilding it
May 25, 2023, 5:51 PM
why are u asking the same question?
May 25, 2023, 5:53 PM
Because you haven't answered
And that was the first point of our entire conversation
And what's the point of that?
Better strip out react too then. It's tech debt and bad performance
May 25, 2023, 5:55 PM
by building your own, I meant better structure your app in a way that won't need to rely on react-query
May 25, 2023, 5:58 PM
That would be easy only if the app doesn't send any requests
May 25, 2023, 6:00 PM
in your logic, all react apps that send requests must use react-query?
May 25, 2023, 6:02 PM
Unless it's less than ~5 requests and you don't need caching, yes.
Proper data fetching in react is hard as hell. It might look bug free but often it's not.
Proper data fetching in react is hard as hell. It might look bug free but often it's not.
Every react/ethersjs tutorial I've seen has unhandled edge cases
async click handler that doesn't handle unexpected component unmounts
May 25, 2023, 6:04 PM
you can implement caching easily using browser APIs like LocalStroage, indexedDB, and others (depending on the use cases)
tutorials won't go into a deeper level, it's upto the developer
May 25, 2023, 6:07 PM
thirdweb from what i see has loads of tools to help developing right? But in this case i will not 100% be learning solidity right?
So if react is old what is the alternative?
Also django is good?
Just wanna make sure i bypass useless works and build a Portfolio and Skill set that is good enough. No rush i know it take few years.
May 25, 2023, 6:08 PM
Learn react lol. People want it dead but it's not going anywhere
It's not my favorite but I accept reality
May 25, 2023, 6:09 PM
I see. What about Django ?
Also I was looking into for example Forking a Dex as an Exercise but i see they are not build in Python at all. Correct? Mostly Node.js?
May 25, 2023, 6:11 PM
That's a completely different thing lol
May 25, 2023, 6:11 PM
That's a backend framework. I wouldnt prioritize Django til you've learned frontend + solidity + hardhat
Since solidity is the backend for dapps
May 25, 2023, 6:11 PM
What's is that ? hardhat
Ok Makes sense so my study program should be:
Frontend
Solidity
Hardhat
Pythin after?
Frontend
Solidity
Hardhat
Pythin after?
May 25, 2023, 6:12 PM
A framework for smart contract development. Makes testing, and interacting with Ethereum easier
May 25, 2023, 6:12 PM
Ok coo. Will check that! Just want to work hard to be able to find a job.
May 25, 2023, 6:12 PM
u should use HTML for backend
May 25, 2023, 6:12 PM
sounds ok
May 25, 2023, 6:13 PM
I'm not that dumb my friend ;)
Everyone starts some where in their life. You also started somewhere one day :)
May 25, 2023, 6:13 PM
You should stick with JS/react, then solidity/hardhat. In that adventure you probably learn 1453 other tools. So thats a good start already. Worry about another language after
May 25, 2023, 6:13 PM
Thank you for your time.
May 25, 2023, 6:14 PM
Was testing your skills
May 25, 2023, 6:14 PM
Steve was born as a 12 year full stack dev
May 25, 2023, 6:14 PM
How do u know ser 😬
May 25, 2023, 6:14 PM
Maybe start with typescript even. Instead of javascript.
I think it's possible and you will jump up a few skills quicker
I think it's possible and you will jump up a few skills quicker
May 25, 2023, 6:14 PM
Cool :D still not skillfull but hopefully one day. Figuring ways to work and get out of poverty that's all. And find a skill. Even if im slow on this.
May 25, 2023, 6:14 PM
starting with typescript will make him cry more
May 25, 2023, 6:15 PM
Just wanna avoid a frustrating start. To keep pushing my self.
May 25, 2023, 6:15 PM
You think so? I'm not sure, I think it'd be ok
May 25, 2023, 6:15 PM
Been studying Trading with no Mentor and was a hell of a ride.
May 25, 2023, 6:16 PM
Dont chase the money, chase the knowledge. The money will come.
May 25, 2023, 6:16 PM
without js knowledge you'll be wondering what are these types thingy
May 25, 2023, 6:16 PM
100% agreed.
May 25, 2023, 6:16 PM
you mean gambling
May 25, 2023, 6:16 PM
No not really.
May 25, 2023, 6:16 PM
prove it
May 25, 2023, 6:16 PM
What proof you want?
Analysis?
Chart Analysis?
May 25, 2023, 6:17 PM
Typescript is a superset of Javascript
May 25, 2023, 6:17 PM
Trading is gambling, you have no control over it. If you did you wouldnt be in poverty like you said. I took that path too homie
May 25, 2023, 6:17 PM
Trading made me broke
May 25, 2023, 6:18 PM
I don't do Shit coin. Been slowly building holds, and trading future. Not a huge investment so slowly working that I enjoy. Had my ups and downs. But not very into Degen coins.
May 25, 2023, 6:18 PM
Yeah man its a hard lesson..
May 25, 2023, 6:18 PM
You guys develop for a long time already ?
May 25, 2023, 6:19 PM
May 25, 2023, 6:20 PM
im a noob
May 25, 2023, 6:21 PM
2.5 year here. so yea i am noob too in big picture
May 25, 2023, 6:23 PM
Damn. Thats nice 2.5 years.
You guys develop projects of your own ? Or just studying?
May 25, 2023, 6:24 PM
All about the projects
studying without making anything is just masturbation
May 25, 2023, 6:25 PM
I agree. Figuring best way to start. Is so much.
May 25, 2023, 6:25 PM
html/css off you go!
May 25, 2023, 6:26 PM
Will do. Still very green at it tbh.
So every developer of solidity does front end also?
May 25, 2023, 6:35 PM
No one says that
May 25, 2023, 6:36 PM
Was just curious to know.
May 25, 2023, 6:40 PM
No. but if you're not a backend specialist already it's best to start with some general knowledge, which includes frontend
May 25, 2023, 6:40 PM
Full stack be like
May 25, 2023, 6:41 PM
xD
Makes total sense, thank you.
For example a Dex is built in which language?
May 25, 2023, 6:55 PM
html css javascript for UI
solidity for logic of swapping tokens etc
solidity for logic of swapping tokens etc
and when you hear javascript assume it's typescript. Since it's what everyone uses now
May 25, 2023, 6:57 PM
Thank you.
just started the zombie thingy.
May 25, 2023, 7:00 PM