Here I implemented context api similer to redux
{
keyName: 'any name', "name use as key in local storage"
isSet: true || false, "if true then data will be persist in local storage otherwise not"
isEnCripted:true || false "if true then data will be encripted otherwise not"
}