luhan Whenever possible, break down your code into smaller, reusable functions. This promotes cleaner code and makes testing easier. Using components and props well can help with reducing your code.
luhan Simplythebest yeah, there’s also interfacein typescript that helps declare your types down to reuse