Omer Batilović

Results 14 comments of Omer Batilović

It just gets stuck on this part and won't move forward ```javascript ig.request.end$.subscribe(async () => { const serialized = await ig.state.serialize(); delete serialized.constants; const data = JSON.stringify(serialized); save(data); }); ```

> Does it get stuck in the callback or afterwards? In the callback. If you have the time some help would be useful.

It is actually being called, when the user is getting logged in if the session doesn't exist. But when i don't need to login again cause i have a session...

> That's to be expected. You need to make sure you only save a valid session by for example checking for a sessionid or similar. This might be stupid, but...

Figured it out! Here's a working example ```javascript app.post("/login", async (req, res) => { const ig = new IgApiClient(); const { username, password } = req.body; ig.state.generateDevice(req.body.username); if (await exists(username))...

I'm not sure really, I think the problem might be with the prelogin or postlogin flows since I had problems when I was using these functions. Also check if everything...

Vuesax for react would destroy the entire competition

It is, I'm also saying that if VueSax was created for react it would be downloaded way more than any other component libraries because it's so good.

No need to make our own library. These guys https://mantine.dev/ made the best component library i have ever seen!

This one is also beautiful and very similar. https://nextui.org/