Hampterultimate
Hampterultimate
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Hampterultimate on 3/25/2024 in #questions
Issues with queryKey
if I pass any string to it
5 replies
TTCTheo's Typesafe Cult
Created by Hampterultimate on 3/25/2024 in #questions
Issues with queryKey
Yes, thats how I used useQuery outside of tRPC. But here it just gets angry at me
5 replies
KPCKevin Powell - Community
Created by Hampterultimate on 1/15/2024 in #front-end
Responsive component with overflow scroll (Tailwind)
so you mean I should just add overflow y with scroll and it wont overflow? Okay, I will try it once I get free and will let you know
6 replies
KPCKevin Powell - Community
Created by Hampterultimate on 1/15/2024 in #front-end
Responsive component with overflow scroll (Tailwind)
flex-grow by itself is giving this issue where adding more items into that div in question is growing the whole div until all items are covered, even after having overflow scroll which is making the whole page longer
6 replies
KPCKevin Powell - Community
Created by Hampterultimate on 1/15/2024 in #front-end
Responsive component with overflow scroll (Tailwind)
Yes thats what I thought as well, but having flex-grow without h-2 is not working as it should be. And h-2 by itself is also not making sense as you can see its taking way more than h-2 height
6 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
You should learn more about APIs in nextjs. You will be needing them to create safe and scalable applications. There will be times you need to perform some action which requies some key so its best to use APIs for that as if you do that same logic on the front end it could expose your API keys and malicious actors can use it just by accessing your frontend
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
This should help, you can skip step 2 I believe but give it a read in case I missed something.
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
Okay so try creating one simple api then calling it on thunderclient or postman just to see if its working in your next project. I have not worked with node that much so I cant be of much help there
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
hmmm, I feel like you might not be creating your apis properly. Have you made APIs before in your project?
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
Also I don't know for sure, there could be better solutions and mine might not even work. So please don't get mad if it doesnt 😱
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
Sure, goodluck!
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
Well, do that if nothing else works.
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
That should work, you might need to change some settings in cloudinary to work with different domains sending image according to your needs
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
If nothing works after going through the URL I sent and trying it out. What you can do is create an API which gets the link in request, use the nodejs specific cloudinary function as shown in the URL, transform the image and send the public url created by cloudinary as a response.
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
oh I see, so you are writing your APIs in the apis directory in Node right?
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
This piece of code is in reactjs right?
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
Tell me this
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
And that too is for NodeJS. So if you are trying to do that in ReactJS it will not work I think
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
yes, it looks like you cannot use it on react. It could be for NodeJS. I did some research but wasnt able to find anything useful except that link
45 replies