//!!!!! TypeScript Solution - For JavaScript visit my profile
/* Implement React ContextAPI in TypeScript using the complex way
and use it to the calmy way.
Optional COOKIE feature added (npm i universal-cookie)*/
//** First thing first create a provider component
//** 📄 StateProvider.ts (.tsx)
import * as React from "react";
/*import Cookies from "universal-cookie";