Initial release of the SDK for React Hook.
- Add 3 React Hook functions: useTeamsFx, useGraph and useData
2.0.0 is a major version upgrade for TeamsFx SDK for React hooks with many improvements and supports.
- Add
useTeams
hook, referenced msteams-react-base-component. - Update to use TeamsFx SDK 2.0, which supports Teams JS SDK 2.0.
- Support both CJS and ESM modules now, so that webpack and other tools can do proper tree-shaking and optimizations.
3.0.0 is a major version upgrade for TeamsFx SDK for React hooks migrating to support React 18 and Fluent UI v9.
- Update to support React 18.
- Migrate to use Fluent UI v9, which includes breaking changes of
useTeams
,useTeamsUserCredential
anduseTeamsFx
.
- Add
loading
parameter to the return value ofuseTeams
hook.
- Update peer dependency
@microsoft/teams-js
version to^2.19.0
.