# React samples

This directory contains React-based examples demonstrating how to use the Dynamsoft Barcode Reader (JavaScript edition) in React projects.

**Included examples**

- `scan-using-foundational-api/` — React + TypeScript example using the foundational API.
- `scan-using-rtu-api/` — React example using the RTU API.

## Quick start

1. Change to a subexample directory, e.g.:

   ```bash
   cd scan-using-foundational-api
   ```

2. Follow the subexample README for exact steps (typically: `npm install` && `npm run dev` or `npm run start`).

## Notes

- Run examples via the framework dev server. Opening files directly may break module loading or camera access.
- See the repository root `README.md` for general usage and license information.