Answer the question
In order to leave comments, you need to log in
How to forbid something to do if props is not registered?
Hello! I have an external props isLoading, but it is silent, although for example the same global props reacts to everything. How can I make sure that if there is no isloading, the nanobar is not loaded? https://codesandbox.io/s/9j466y4rlp . Thanks in advance
Answer the question
In order to leave comments, you need to log in
You have isLoading set to default, remove it from defaultProps or set it to false and you'll get what you want)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question