Skip to content

Fix React 18 compatibility and audio issues in browser example #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vikasharma005
Copy link

This pull request includes several important fixes for the React example:

Changes Made

  1. React 18 Compatibility: Updated ReactDOM.render to createRoot API
  2. Node.js Polyfills: Added process.env and process.nextTick polyfills for browser environment
  3. Webpack 5 Configuration: Added config-overrides.js with buffer polyfill
  4. Build Process: Updated package.json to use react-app-rewired
  5. Import Structure: Fixed import order and removed duplicates
  6. Preflight Checks: Added .env with SKIP_PREFLIGHT_CHECK=true

Issues Fixed

  • React 18 deprecation warnings
  • 'process is not defined' errors
  • 'process.nextTick is not a function' errors
  • Page crashes when using microphone
  • Import errors during build

The app now builds and runs successfully with all audio features working.

MacBook Air added 2 commits June 3, 2025 17:10
This commit includes several important fixes for the React example:

1. React 18 Compatibility: Updated ReactDOM.render to createRoot API
2. Node.js Polyfills: Added process.env and process.nextTick polyfills
3. Fixed import structure to resolve ESLint errors
4. Ensured audio processing works correctly in browser environment

These changes fix the following issues:
- React 18 deprecation warnings
- 'process is not defined' errors
- 'process.nextTick is not a function' errors
- Page crashes when using microphone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant