Skip to content

chore: fix require loop#22

Merged
mfazekas merged 1 commit intomainfrom
fix-require-loop
Nov 13, 2025
Merged

chore: fix require loop#22
mfazekas merged 1 commit intomainfrom
fix-require-loop

Conversation

@mfazekas
Copy link
Copy Markdown
Collaborator

Fixes require cycle:

Require cycle: ../src/index.tsx -> ../src/hooks/useRiveFile.ts -> ../src/index.tsx
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.

@mfazekas mfazekas requested a review from HayesGordon November 13, 2025 14:06
@mfazekas mfazekas merged commit a4ed4ec into main Nov 13, 2025
5 checks passed
mfazekas added a commit that referenced this pull request Nov 17, 2025
@HayesGordon HayesGordon deleted the fix-require-loop branch December 9, 2025 16:27
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.

2 participants