I haven't used faker since the wipe and am not familiar with the current form of it. Is there a function similar to the contextual card function in the new version? or a function to create fake usernames? my current code looks like this
useEffect(() => {
const suggestions = [...Array(20)].map((_, i) =>({
...faker.helpers.contextualCard(),
id:i,
}));
console.log(suggestions);
}, []);
Anything helps. Thanks!
Wow, that's from Sonny Sangha Instagram's video? I'm with the same problem here and after searching some issues in Faker Github, it looks that they turned it deprecated, so you should make your own method to get your specifics objects. I saw an example on their readme: