File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -190,21 +190,3 @@ export function useA2UIContext(): A2UIContextValue {
190190 [ actions , state . version ]
191191 ) ;
192192}
193-
194- /**
195- * @deprecated Use useA2UIContext instead. This alias exists for backward compatibility only.
196- */
197- export const useA2UIStore = useA2UIContext ;
198-
199- /**
200- * @deprecated This selector pattern does not provide performance benefits with React Context.
201- * Components will re-render on any context change regardless of what you select.
202- * Use useA2UIContext() or useA2UI() directly instead.
203- *
204- * @param selector - Function to select a slice of state
205- * @returns The selected state
206- */
207- export function useA2UIStoreSelector < T > ( selector : ( state : A2UIContextValue ) => T ) : T {
208- const context = useA2UIContext ( ) ;
209- return selector ( context ) ;
210- }
Original file line number Diff line number Diff line change 44 useA2UIActions ,
55 useA2UIState ,
66 useA2UIContext ,
7- useA2UIStore , // @deprecated - use useA2UIContext
8- useA2UIStoreSelector , // @deprecated - use useA2UIContext or useA2UI
97} from './core/A2UIProvider' ;
108export type { A2UIProviderProps } from './core/A2UIProvider' ;
119export { A2UIRenderer } from './core/A2UIRenderer' ;
You can’t perform that action at this time.
0 commit comments