Tag Archives: cookie

Electron Adventures: Episode 78: Cookie Clicker Game Packaging – JavaScript Dev Feed

Electron Adventures: Episode 78: Cookie Clicker Game Packaging In previous episode we created a simple static Cookie Clicker game app. Let’s now package it into a standalone app. There are a few different packagers for Electron. In this episode we’ll try Electron Forge. Install and run import $ npm install –save-dev @electron-forge/cli $ npx electron-forge…

Read More

Some useful custom utility🛠 functions for cookie handling in javascript – React Dev Feed

Some useful custom utility🛠 functions for cookie handling in javascript For a simple cookie operation I prefer to have my own custom functions(obviously from google) instead of using a cookie library in React.js 1. setCookie // setCookie(“cookiename”, cookieExist, COOKIE_EXPIRY_TIME); // example – setCookie(“username”, cookieExist, (0.5 * 60 * 1000)); this cookie expires in 30 seconds….

Read More