The way Dynamic integrates with web applications is by extending our client with the Web Extension.Documentation Index
Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Install the web extension package using your preferred package manager:- npm
- yarn
- pnpm
Shell
Setup
- Import the WebExtension from the package
- Create your Dynamic client
- Extend it with the WebExtension
dynamicClient is ready to be used on any web application.
Example
This example demonstrates how to use a Dynamic Client with web support to prompt users for authentication in a React app.ExpoWeb integration
The@dynamic-labs/web-extension package is fully compatible with Expo Web applications.
To support both react-native and web you can simply extend the dynamic client with both react-native and web extensions.
Make sure to complete the React Native setup