Lesson 10 : useMoralis() MoralisProvider configuration settings #2544
-
https://github.com/MoralisWeb3/react-moralis#usemoralis <MoralisProvider
initializeOnMount={false}
>
<App />
</MoralisProvider>
<MoralisProvider
appId="xxxxxxxx"
serverUrl="xxxxxxxx"
>
<App />
</MoralisProvider> |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
1:2: |
Beta Was this translation helpful? Give feedback.
-
Hi @tsuccar
Tip: It is all stated in detail and clearly, please give it a once more read at docs. I am sure you will understand completely 😃 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@tsuccar Hey! Let me clear your queries;
This Hope it is clear now! |
Beta Was this translation helpful? Give feedback.
@tsuccar Hey! Let me clear your queries;
ethers
andmoralis
are not the same thing,ethers
just create easy methods and other functionality with that we can easily interact with blockchains, on the other hand,moralis
is a database (not just a database do other stuff as well but here we are going to discuss just our use case) that has an ability to listen for our smart contract events and can store that events data into a database.This
initializeOnMount
refers to that part, if we just want to use Moralis components and don't want to use their server for any use case then we should passfalse
in the prop, but we wanna use their server for let's say database, then we have to add ourappId
…