React
Typed React providers and hooks over the Thread API.
PAI React is a UI facade over Thread. It does not implement protocol semantics itself.
The common path:
createPaiHttpClient -> createPaiReact -> Pai.Provider -> ThreadProvider -> hooksStart with React Setup, then Thread Lifecycle and Chat Hooks. Use Codegen when you want generated client-safe contract and React binding files.