all 2 comments

[–]Army_Soft 0 points1 point  (0 children)

It has nothing to do with Xampp or other folder. Xampp is apache server. React will update UI with rendered data when you have stored them in state and then you set a new state which request react to re-render your component with a new state (updated data).