Answer the question
In order to leave comments, you need to log in
How to generate an array only once?
Hello!
There is a button, by clicking on which a request is sent, the request is processed on the server side, and an array is generated, obviously, it is generated as many times as the request was sent. But how can you make sure that the array is generated only once?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question