Activity
Mon
Wed
Fri
Sun
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Jan
Feb
Mar
Apr
May
What is this?
Less
More

Memberships

Senior Dev Academy

Public • 652 • Free

6 contributions to Senior Dev Academy
Next.js Cookies
Hello dear developers, I have recently faced some issue with Next.js server/client cookies. Here is what I'm trying to do: 1 screenshot: function to signin/signup the user, it takes token from response and saving it to the cookies. 2 screenshot: 2 functions for getting and saving token to the cookies. 3 screenshot: api interceptors, i'm trying to get token from the cookies by getAccessTokenFromCookies() function and assign it to the Authorization header. 4 screenshot: Client component, function trigger for signin/signup If a function trigger is inside of a client component, so function main from auth service should be also client, and then function which saves token to the cookies also, am I wrong? On 3 screenshot I always get undefined becase, typeof window === undefined, therefore its not a client component, but why... Is there any way to get around it? Thanks for reading:)
2
0
Backend Deploy
What is the best platforms to deploy back end? Maybe some free hosts? 👀 I’m doing a full-stack project and my back end is on render, it's super slow, and I cannot describe this awful experience
4
3
New comment Mar 5
0 likes • Mar 5
@Bogdan Nedelcu Thanks 😊
Github Actions?
Does anyone know how I can do/configure this? 3/4 tasks, and I see on different pull requests different numbers of tasks 👀
3
2
New comment Feb 21
0 likes • Feb 21
But if pull requests have a different amount of tasks, it's probably because of many .yaml files, isn't it?
Adding one import instead of multiple
Hello guys, how's your day going? I know that there is a trick to do it, but I forgot. I have a folder called pages in the Next.js project and I have there 6 pages, so I have to add to my App 6 imports, but I want to create an index.js file in the pages folder and do something like this - export * and then import in App only once, I wish I hadn't forgotten 🙏
3
4
New comment Nov '23
2 likes • Nov '23
oh, really? 😭 That's so easy.. Thank you 🤝
2 likes • Nov '23
@Caleb Ogundiya Yea, definitely
🤝 Connect on LinkedIn!
Hey ambitious Devs, To help each other even more, let's connect on Linkedin! 👉 Drop your profile in the comments below so everyone can connect with you! We can also drop you some endorsements, make sure you return the favor! 👉 Send me a connection request mentioning TheSeniorDev Academy :) Here is my profile: https://www.linkedin.com/in/dragosnedelcu P.S. Super nice to see how cheerful and helpful everyone is around here :) Keep it up!
42
137
New comment 3d ago
10 likes • Oct '23
https://www.linkedin.com/in/denysbabych/
1-6 of 6
Denys Babych
3
25points to level up
@denys-babych-1879
Front-end Developer

Active 6h ago
Joined Oct 17, 2023
Ireland
powered by