UNPKG

useone-react

Version:

This package was make for advance version of useState(). it's simplify to use one state in anywhere of your project to transfer data without props , usecontext(), session storage.It's act like usestate() but different...

4 lines (3 loc) 227 B
export declare function useOneFirst(params: any): void; export declare function InitialuseOne(...params: [string | number, any][]): void; export declare function useOne(params_state: string | number, initialstate: any): any[];