I am trying to add several txt files to a zip file and download it locally. For this, I am using the libraries: JSZip and FileSaver. This is the "typescript" co
I'm experimenting with react-query as a replacement for my custom logic when loading data from a server in a react application. What I cannot seem to understand
const { data, isLoading } = useGetDataQuery({ skip: !dependency } ); const { data2, isLoading2 } = useGetData2Query({ skip: !data } ); const { data3, isLoadin
I have written the code for dynamic accordions it showing the design correctly but functionalies(hide/show) are not working. Below i have shared the code please
I am trying to build a function where I can switch languages in my store and use different json files based on return value from a hook. Here is my store: impor
I'm trying to lunch a mutation but my param is udefine how should I properly transfer my varrables to make this function works? Pleace help Component props:
I am trying to build an NPM package with TypeScript, not a normal React project. When I run tsc to build the project, it returns many type errors: It seems to b
search(value) { if(value.length > 3) { setTimeout(() => { searchApiCall(); }, 2000); } } <input type="text" class=
So i am trying to replace ts-loader with esbuild-loader in webpack, however it seems like as soon as I make the change, the page stops working. { test: /\.t
I am getting following error Issue is i have a abstract class which is not getting injected, i dont know how to inject abstract class. looks like the issue is
I need to make sure there is a single subscription (e.g. within the constructor) and chain the flow of events from another component to an observable property o
I have an existing abstract class, say Vehicle and I want to create an intermediate class to reduce repetition of abstract properties in my instantiatable class
For some reason, I am not able to stub this here. I have reduced my code to almost exactly this here. This should work according to the docs, but I'm wondering
I am working on deno equivalent of my node (express) server application for study purposes and I can't find a way to apply optional chunks when defining routes.
I have simple code as follows: /types.ts export type TodoType = { id: String task: String completed: Boolean } /components/Todo.tsx import { TodoType }
I've trying to run tests for my Express + TS application through GitHub Actions But even if my test fails, it seems Jest doesn't return a non-zero exit code so
I'm trying to access a variable inside a subscribe function but it returns to me undefined, please any suggestions: export class InboxmanagementComponent implem
Need google app script to make stepwise to an array of numbers taken from a range cell values. Example suppose the taken cell values from A
I am trying to implement generic mutation function using ReactQuery, the code works fine but I am getting a type error which I could not solve. Can someone help
I would like to implement a progress bar which increases progressively as a variable increases. I've tried it 3 ways, none of them work as I wrote it. Using CSS