SqueezedPant's Posts
Nairaland Forum › SqueezedPant's Profile › SqueezedPant's Posts
1 2 3 4 5 6 7 8 9 (of 9 pages)
Teckwizard56:i believe you are being sarcastic with this because what is this ? |
if anyone has a nintendo oled he would like to direct swap with an iphone XR that is still neat please indicate |
Stress , Just use zod + React hook form |
LikeAking:Opposite for me here , i prefer the tech and coding aspect , i am not intrested in any executive position even if they bring more money |
LikeAking:I understand your point but using libraries dedicated for fetch is better than the default fetch alone esp for big web applications Things like revalidate , caching , fetching on server side can’t be done with the default fetch alone |
Which do you prefer , i prefer React Query to redux React Query + server actions Why i like it: You can hydrate directly from the server components react query hooks and the client updates itself immediately after it has hydrated I don’t know if it can be performed with RTK tho never tried it out, which do you prefer and wyy |
The reason why I implemented server actions (not serverless) my mistake was because i wanted a situation that would make everything become faster. With next js 13 server actions , you can write all your whole logic in the server without worrying about it coming to hydrate in the clients , so i tried and it was fast. All in all , React server component is a beast |
Mayowadre:Okay , sorry i have not replied early been busy with my teaching work Okay first is to get the stripe secret key from the dashboard , then set up a function in the cart component that listens to an event click , i pass in an id , quantity , price and other necessary data as the body data then after , i await the stripe checkout session and also expect a stripe session ID to be returned In the backened i recieve the customer name , payment method and line items data from the frontend and also set up a success url or failure url I create another file to listen to events called stripe webhooks , it listens to the various events happening during the stripe checkout session then i plug in my postgres adapter to it to send a confirmation status when the payment becomes successful back to the database and also the session ID so service gets discontinued incase the subscription expires |
I use clerk dev because of the flexibility it offers so well , what about you guys ? |
I implemented stripe API + webhooks (listened to events and sent the transaction session ID to the database ) did subscription based services rhat would expire after one month and stop access. Did it on both Express JS and next JS API (serverless) , if you are having problem implementating with either tech , you can comment and i would be willing to help |
Shadcn has ti be the beat UI for React projects in my opinion. Works well with tailwind CSS and it is easily customizable, you can create your own themes as well and customize rhe built in theme from rhe scratch to your own taste. What makes it great as well is it iS NOT a component like other UI. any other suggestion ? |
I’m suprised people in nairaland phone section don’t know about nothing phone , even saying it fake lol |
Who should tell him ? Even too engineers code from other sources , how do you want to master thr syntax from many libraries in your heax |
I have an xsmax atm and i still prefer to use my redmi note 10 pro for my everyday use. |
“For me to look at them” holy shit |
eazycash:NextAuth , Next Js 13 app directory |
I am currently making a file storage system for organizations as a side project , using next auth for the authentication(I don’t know how to roll my auth). Now the issue i am having is whenever i refresh the page , the session disappears for some seconds. Now this is where the problem is , as the session disappears , some routes are protected in the middleware.ts file. So immediately , the routes get locked. So how can i save session so that maybe if there is a 1 minute network blackout , i won’t get locked out immediately. I have ruled the idea of saving in local because if the network gets switched off completely , it would still be saved in there. And you cannot revalidate local storage based on “network timeout” . I would appreciate your help on this @qtguru please i would need your expert opinion here |
Been thinking wether it is possible to go in person to companies to ask them about vacancies ? Is that possible or online is the way now ? |
Is there an iMessage group chat for web developers , not everyone uses WhatsApp , i would gladly appreciate if someone can add me |
indicate with phone no , price , picture , would not need by end of today |
innobarca:Yes ,I can |
Thebadpolitican:/demonflowne Text me on telegram and I would give you my WhatsApp number |
Thebadpolitican:You can install a custom ROM on it , would be easier that way |
Yes , it's possible |
DarkJeddi:Battery percentage showing in battery icon is a good innovation |
IhateRetards I saw you saying on diary that you now understand time complexity through an Indian guy on YouTube Can you send the link ,please ? |
It doesn't seem to enter the lamp holder ,so how can I use it
|
What's the spec |
Redmi note 10 pro , got it around late last two years or early last year , forgotten Sha 120K |
Someone wants to get sth like this and he said I should ask people who know better ,so I want to ask people here for their inputs |