How can I communicate with 2 reactjs components – using Jotai
I have 2 reactjs files: Reports.js (used to request report and display the result) AuthContext.js (has a socket connection to maintain communication with the backend server) user first goes to the report page generated by Reports.js and then there is…