Avoid having to create random string ids, by having them incremented in the similar way of how numbers are.
# Using npm
npm install next-incremented-string
# Using Yarn
yarn add next-incremented-string
import { incrementString } from 'next-incremented-string';
const nextString = incrementString("AAA");
console.log(nextString);
//AAB