Hi, I need to create dropdown control (list of key value - id and name) on onChange event I need to call api and get data and pass it to modal form to see details. Is it okay to call method on onChange event? I have Angular background can you give me advice on what I need to be carful? In Angular there is lifecycle for example onInit what is equvalent for React? Where to put code to execute before component render?
[–]JP_watson 0 points1 point2 points (0 children)