I tried both but, I would not have known to stick with one. very helpful thanks!
I had a feeling about that. So, I am not dumb lol!
Ah…that is helpful. I did try changing a timeout but, did not know if I was on the right track. this is helpful!
yeah its the type of thing that sometimes will work first time and others u can be all day trying to deploy. just keep at it and it will work eventually
or if u want a quick fix take tour contracts and compile them in remix and deploy using injected web3. this is what i do most times and only work in vs code when my contracts are either near complettion or else im dealing with a complex web of lodes of contracts too nig to deal with in remix. but since your doing this course u should try to deploy it manually too for the learning experience
Will do!
thank you very much!
Yes! I would like to see this problem through
I am going to move onto the Kitties course to get a grasp on web3.js.
perect. yeah thats a good course for frontend
I did the react.js course but, I am still unsure of how to put it all together (back end and front end).
The Kitties course seems specifically geared towards this.
yes but in the kitties course u use vanillajs its a very good course tho. and on the point of react. i would recommend learn function components and dont use class based as this is old react. i think that course was don ein class components
Hmmm…so, you got me thinking that, if I want to make a front end for this contract, I should do it with React before moving onto Kitties course…
In other words, I should really understand how to make a front end for this with react.js, since I did take the react.js course.
This convo has been very helpful to me
hmmmmm im not sure i would do the kitties after. u shoukd probably do it first and it would teach you what u need to know to be able to build a frontend for this dex on your own. if u feel good about the react u learned then what i would do is follow along with the kitties course but build it in react. one guy did this before so he did.
Ah…I get it.
You answered my concern that I might have “missed” or “forgot” certain things about the React course. I see now that I am probably good there now.
I will indeed move onto the Kitties course and then try build the front end of this contract with whichever platform after.
perfect. sounds good
Hey Evan, I’ve been busy creating a website for myself, LinkedIn, resume and personal stuff but I did try to restructure the React code for the DEX but I couldn’t get it to work. I may try to redo it following a tutorial that uses context, like Redux or once I get back into it I can show you and get some help but you mentioned Web3-React and I looked it up. I thought you were referring to the Moralis Web3 courses but now I’m realizing it’s something different and I will look into that and Redux.
hey @bjamRez hope your doin great. yeah you should definitely learn reducx and also the use of reacts contexts api. you maybe be like well which is better. and on that note i will say this. if you have some very important pirce of state/data like a user, thats updating frequently with lots of rerednderrs then use redux as its more efficient. howeveer if you are only trying to do things like having a global notification stata or globabl theme then these lighter and less frequent events can be handled using context. you dont even need redux and can achieve everything u want with context, but for more complex and frequently updating components its better to use redux for them due to re-rendering issues. watch this video
https://www.youtube.com/watch?v=pk4XwxdYUnY&t=120s
you may not run into this problem but when using context it causes every compnemnt wrapped in the conext provider to re-render. whereas redux store will only update specific components. you can get around this by using useReducer and useDispatch hooks from react if you really want to do thing 100% context api style. but i think a balance of the both is often the best.
thanks @mcgrane5 - thanks getting back - I’ve been busy with other - life stuff - I finally got a chance to check my messages. Yes - I think I’ll redo the DEX with context first and I’ll check out the video. Quick question - do you use Moralis SDK products, plug-ins, etc?
@bjamRez no worries at all. yeah sounds good. thats a funny one, even though i work here i actually dont use moralis products really. not because i dont want to but because im on a journey myself and i want to learn how to do everything from scrratch like how to built my own databases, how to build my own rest API’s and hot do do everything complex from scratch. im a very tehoretical person and i like to try to fully understand everying about what im doing. so until i do everything at least once first from scratch i will refrain from using moralis because i feel i will be a better programmer. then once i do know how to do a lot of things from scrtach only then will i feel that i deserve to use something as amazing as the moralis sdk
@mcgrane5 I agree - I was putting off the Moralis SDK because I figured it was for seasoned Devs so you can only truly appreciate it after you’ve done it the hard way. I did start making those changes and I got the first part going but I’ll show you where I am stuck