Closed as not planned
Description
Using the unpack operator is dangerous within a component's return
. ReactPy relies on the position of child elements to keep track of hooks (for any element that doesn't have a key=...
defined). We'll either need to warn against using it, or completely prevent it from being used.
There is currently has no way of providing "key does not exist for dynamic children" warnings when using the unpack operator.
Original Discussion
Metadata
Metadata
Assignees
Labels
May be resolved one any timeline.May be resolved one any timeline.About a change in functionality or behaviorAbout a change in functionality or behavior