I know React is client side, but does it have session or cookie to send it to server with Axios for cart and user profile?
I found react-cookie but, is it secure?
I know React is client side, but does it have session or cookie to send it to server with Axios for cart and user profile?
I found react-cookie but, is it secure?
React is just a javascript library useful for creating fast web UI. Cookies and session has nothing to do with React. Use, normal JavaScript API's to handle them. For maintaining session and local data, you can use sessionstorage Docs:SessionStorage or localstorage Docs: Localstorage Docs
You can use Redux for that but also the: https://github.com/gpbmike/react-cookie looks good based on the documentation.