if id came from backend then how to access in frontend code in react code example Example: spring react npm install react-spring