@varshadr1234 I prefer to watch comedy and non technical movies, I believe after a day of work, watching a movie that makes you remember work is just too much
@universecodec Most modern apps these days are using CSS libraries, like Tailwind which does this default, also there is something called normalize css on GitHub that also does this reset
@iponikar Not sure about react native, but in web react projects, if you want to run some js independently outside react, you can configure your bundler (vite or webpack) to do so, and maybe store the data in indexDB or local storage to be later used in react
The problem: TypeScript here is playing it safe and assuming the worst-case scenario, we need to inform TS about the specific types the generic can be.
The solution:
TypeScript snippets: Extending generics
While working today, came across a handy way to deal with generics.
The below code throws an error: `Property 'toString' does not exist on type 'T'`
#typescript#React