react-native-compressor icon indicating copy to clipboard operation
react-native-compressor copied to clipboard

Move uuidv4 to helper to avoid circular dependency with React Compiler

Open sabaturgay opened this issue 7 months ago • 1 comments

Summary

When React Compiler is enabled, there is a circular dependency issue causing uuidv4 to be undefined during background uploads. This PR resolves it by moving the uuidv4 utility out of index.ts and into a separate helpers.ts file, avoiding the import loop.

Changelog

[Fix] [Bug] - Avoid circular dependency by isolating uuidv4 export in helper module

sabaturgay avatar Apr 04 '25 18:04 sabaturgay