Hi,
Ihave component 1 UserName which returns the logged in Username. Usename value needs to pass to UserLoggedInDate component.
In the UserLoggedInDate component, how to use username value as query parameter?
like fetch('user/getUserLoggedInDate?strUsername=' + "test")
Please help me how this can be done.
Thanks
saradalalPosted Aug 24, 2021, 12:01 PM
Hi Ganesan, I am new to react. Thanks forproviding the solution.Please provide the solution having two components UserName and UserLoggedInDate. Please provide me the full solution how to use component1 value in component 2 fetch query parameter value...
Component1: UserName
Component2: UserLoggedInDate
Please provide the code that needs to be added in both components for passing the component UserName value to Component UserLoggedInDate.
thanks
Thanks
Ganesan CPosted Aug 23, 2021, 8:52 AM