Skip to content

Tag: reactjs

How to render each function component UI (synchronous)

I have two UI function component and i wanna render them synchronous, I mean when the first component render finished,it will be delete into DOM then the second component will be render after that. i used async await into hook but maybe i’m wrong. as you can see, i wanna render Loading component first t…

What is the error “options.map is not a function”?

In the above code I get an error that options.map is not a function. How can this be resolved? The following code calls the above code. Answer im trying it and it cause of the data was late to read and the browser was too fast to read it so i tryin with this idk if it woukd be helps