Hi! I am a proficient Reactjs developer.
So, you want to refine your existing code. Checked your image but it's not possible to guess what is going on without seeing the full code. You haven't provided any details of your app. I have expert level skills in React and Redux. You can ask any question if you want and If you are interested, I can share with you my previous Reactjs projects. Redux is basically used for state management with React that means React can work without worrying about the app state and thus, it can provide it's incredible features like Virtual DOM and the code is also modular and robust at the same time. I can refine this piece of code by checking the full code of app. If you are interested, contact me. Thanks for your time!