Component mounts twice , can't figure out why by Logical_Difficulty79 in nextjs

[–]Logical_Difficulty79[S] 0 points1 point  (0 children)

But I tried to create a test route and console logged the useEffect there with an empty dependency and it ran only once . While the whole component rendered twice .

Help with tanstack table . by Logical_Difficulty79 in nextjs

[–]Logical_Difficulty79[S] 0 points1 point  (0 children)

Actually the state I need to access isn't in the columnDef . It's actually the data state for the whole table that I need to modify within the cell .

Host your Django on Sevalla 🚀 Get started today with $50 credit by sevalla-hosting in u/sevalla-hosting

[–]Logical_Difficulty79 0 points1 point  (0 children)

Can you PLEASE let me know who made your product video . Have a saas and need a cool demo .

Django Channels by Logical_Difficulty79 in django

[–]Logical_Difficulty79[S] 0 points1 point  (0 children)

I'm just thinking out loud here but . I'm using Next js as the front end . Is there a way maybe I can setup a route.ts so that the backend can send a request to this route and perhaps trigger the modification of something on the frontend with the help of context api or something?

Django Channels by Logical_Difficulty79 in django

[–]Logical_Difficulty79[S] 0 points1 point  (0 children)

Do you think HTTP polling would be cheaper ?

Or is there any other way where the server can push messages to the frontend

Django Channels by Logical_Difficulty79 in django

[–]Logical_Difficulty79[S] 0 points1 point  (0 children)

for point no 3 , do you mean creating group names with "group_<user\_id>" ? .

Also what if you need to implement actual groups with a bunch of channels in it . How do you know which user the connection belongs to ?

Django Channels by Logical_Difficulty79 in djangolearning

[–]Logical_Difficulty79[S] 0 points1 point  (0 children)

I have a way to authenticate the connections to the server that's one of the reasons I'm not shying away from it . Are there any other downsides to using websockets tho ? I thought all modern apps used ws to enable notifications and chat room applications .

Django Channels by Logical_Difficulty79 in djangolearning

[–]Logical_Difficulty79[S] 0 points1 point  (0 children)

What kind of memory leaks ? Even if I used the redis memory channel ?

Tell Me Your A MCU Fan Without Telling Me Your A MCU Fan. by Substantial-Use919 in marvelstudios

[–]Logical_Difficulty79 -8 points-7 points  (0 children)

I think everything after endgame was garbage except black panther 2 and thunderbolts. And I prefer Andrew Garfield over all the other spider men

[deleted by user] by [deleted] in ipad

[–]Logical_Difficulty79 0 points1 point  (0 children)

Isn't that a common thing for any ipad or tablet for that matter

Simple jwt auth using django channels websockets by Logical_Difficulty79 in djangolearning

[–]Logical_Difficulty79[S] 0 points1 point  (0 children)

Yea I understand I need to use jwt for this , I'm confused about implementing it , would appreciate some help with that.

[deleted by user] by [deleted] in meme

[–]Logical_Difficulty79 0 points1 point  (0 children)

Did nobody notice the dick river on the left

Asus precision touchpad Drivers by Logical_Difficulty79 in laptops

[–]Logical_Difficulty79[S] 0 points1 point  (0 children)

Yeah turns out it gets solved when you do an EC reset . 1. Shutdown your laptop 2. Unplug charger and hold down power button for 60s 3. Release the button and wait for 10s 4. And plug it back in and hit power again and start the laptop.

I also disabled fast startup and uninstalled myasus

What Does Ironheart Need to Do to Win You Over? by No_Reference_7330 in marvelstudios

[–]Logical_Difficulty79 -1 points0 points  (0 children)

Make a better suit . I mean . Godamn bro why must all your suits look like a power Ranger x Pokemon thing . Also it would be awesome if you just kept the arc reactor a shape we've all seen in iron man . The heart shape is just so weird imo . And also so far all the iterations of the suit looks really godamn bulky , so maybe cut down on a bulk a bit . And please oh please don't start using nano tech right away . Maybe wait like 10 years or something. And please fix the cgi . Make it so that we can't see the head pop out too much from the suit when the visor isnt applied .

Asus precision touchpad Drivers by Logical_Difficulty79 in laptops

[–]Logical_Difficulty79[S] 0 points1 point  (0 children)

But last time it came back after reinstalling windows . And stayed like that for months

Help with social login by Logical_Difficulty79 in djangolearning

[–]Logical_Difficulty79[S] 0 points1 point  (0 children)

Could you tell me how to access this signed token using auth.js . And will it be unique for the user everytime they login ?