Skip to content

Instantly share code, notes, and snippets.

View rats4final's full-sized avatar
🏠
Working from home

David Antezana rats4final

🏠
Working from home
View GitHub Profile
@rats4final
rats4final / select.tsx
Created July 11, 2025 20:03
React Select Combobox With API
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
import { useRegisteredNitData } from "../hooks/useRegisteredNitData";
import Select, {
InputActionMeta,
SelectInstance,
SingleValue,
components,
InputProps,
} from "react-select";
import { CompanyNitData } from "../schemas/companyNitDataSchema";
@rats4final
rats4final / arrow.js
Created September 22, 2023 08:06
Normal Arrow Function
const myFunction = () => {};
const aFunction = param => implicitReturn;