Quick tip: shortId
Generating id’s, no matter the concern, it always comes in handy. Check out this little fella!
import shortid from 'shortid';
const id = shortid.generate();
console.log(id); // => AcBx2A4
Unique, url friendly id’s, short and simple :-).
npm install shortid
Github: github.com/dylang/shortid