Skip to content

FIx useEffect infinite loop - #304

Open
Rythinx wants to merge 1 commit into
hoaphantn7604:masterfrom
Rythinx:bug/small-rendering-issue
Open

FIx useEffect infinite loop#304
Rythinx wants to merge 1 commit into
hoaphantn7604:masterfrom
Rythinx:bug/small-rendering-issue

Conversation

@Rythinx

@Rythinx Rythinx commented Sep 28, 2024

Copy link
Copy Markdown

For some reason, when you put an empty array for the data
it starts an infinite rendering loop. I made a quick fix to stop the rendering
when the data is an empty array.

@CruciataFrancescoGiovanni

Copy link
Copy Markdown

After quite a few months, any definitive fix for this bug ?

@carlos3g

Copy link
Copy Markdown

@Rythinx — the search effect's infinite-loop case is handled in the maintained fork @carlos3g/element-dropdown (closes #302 too). Drop-in.

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.

3 participants