Yuvaraj
TTCTheo's Typesafe Cult
•Created by Yuvaraj on 4/5/2024 in #questions
React query in react native
Hey can anyone help me, we are adding react query for data fetching in our react native app, does it require a native release, As per my guess codepush should do the job as there is no native platform specific apis being used
7 replies
TTCTheo's Typesafe Cult
•Created by Yuvaraj on 7/23/2023 in #questions
Unit testing streams in node
Does anyone know how I can test streams, I am using a remote Api that streams the response, I need to write unit tests for that , but I was not able to make it work with jest.Anyone have any suggestions or ideas on how to achieve this
3 replies
TTCTheo's Typesafe Cult
•Created by Yuvaraj on 5/19/2023 in #questions
Handling il8n in Next 13
Does anyone have a better solution for handling internationalisation in next 13 , I have gone through few solutions in the web and everyone is suggesting to use [lng] dir in the root and include all components inside, but making them causes every route to have lang code , can we do anything better without including the lang code
2 replies
TTCTheo's Typesafe Cult
•Created by Yuvaraj on 5/18/2023 in #questions
Context in App dir
I just wanted to understand , if I have global context providers that I need to use in all components, would it be possible to still use server components using app dir in Nextjs if I wrap the children in context
Example from next documentation:
import { ThemeProvider } from 'acme-theme';
export default function RootLayout({ children }) {
return (
<html>
<body>
{/* Error:
createContext
can't be used in Server Components */}
<ThemeProvider>{children}</ThemeProvider>
</body>
</html>
);
}10 replies
TTCTheo's Typesafe Cult
•Created by Yuvaraj on 5/17/2023 in #questions
NextJs router error in app dir
3 replies
TTCTheo's Typesafe Cult
•Created by Yuvaraj on 5/14/2023 in #questions
NextJs Image component
Hello , I want to deploy my nextjs app to AWS using docker and kubernetes, How can I make the next/image component optimisation work ? Will it work if I use sharp library ??
5 replies
TTCTheo's Typesafe Cult
•Created by Yuvaraj on 4/9/2023 in #questions
Utilising more cores in node
Since nodejs uses single thread , if I deploy my application in AWS with autoscaling enabled, won't it increase cost , since it uses only single core of the instance?
3 replies
TTCTheo's Typesafe Cult
•Created by Yuvaraj on 12/19/2022 in #questions
What's the exact definition of Serverless
I was never 100% sure what exactly Serverless term means.Is it not using our own dedicated server for our app? Or using a full stack framework like next js which comes with its own node server? Or using a firebase kind of thing which exposes their own APIs ? I just want to have a clear understanding of it. Could anyone give me some clear picture of it
6 replies