In my Plasmic Studio project, I’ve got a component with several select instances. Selecting “Preview the current artboard” and clicking the select crashes the project with these errors:
Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
The above error occurred in the <item> component. It was handled by the <ErrorBoundary> error boundary.
Live frame render error Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
I couldn’t reproduce this error in a new project, so I tried duplicating my current project so I could poke and prod without damaging anything. But when I tried this, a popup appeared with an error that simply said:
Unexpected error
Error: post /projects/ryyszwM33kJRjcmYMybvVW/clone failed: Internal Server Error
I compared my select component to a blank slate version in a new project and it was identical outside of some style changes. I also noticed that the issue occurs when viewing the Select component artboard, but not when previewing the Menu Popover artboard. Other than that, I’m at a complete loss.
Relevant links:
- Project
If there’s something I should do to make this link accessible, please let me know.