You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am really liking the idea of how simple this API is but I think I've run into an issue I can't grok.
I have an existing component with state (ES6 class) and it's also using react-dnd with HOC dragSource and dropTarget decorations, as well as being connected to Redux at the high level.
This component is in a list and I want to animate the enter/exit of these list items plus additional states; perfect for Pose. The items are flex items in a flexbox grid, so I can't use the posed.div helper unless I duplicate some component logic to compute the CSS classes to add.
Now you might see my issue. In order to make the posed item a direct child of PoseGroup I would need to insert the posed component within the map probably--and it needs those computed classes (plus it feels weird).
I saw a PR #276 which seems like what I want maybe?
I am really liking the idea of how simple this API is but I think I've run into an issue I can't grok.
I have an existing component with state (ES6 class) and it's also using
react-dnd
with HOC dragSource and dropTarget decorations, as well as beingconnect
ed to Redux at the high level.This component is in a list and I want to animate the enter/exit of these list items plus additional states; perfect for Pose. The items are
flex
items in a flexbox grid, so I can't use theposed.div
helper unless I duplicate some component logic to compute the CSS classes to add.So in pseudocode it looks like this without Pose:
Now you might see my issue. In order to make the posed item a direct child of
PoseGroup
I would need to insert the posed component within themap
probably--and it needs those computed classes (plus it feels weird).I saw a PR #276 which seems like what I want maybe?
So I can do
Any help is appreciated!
The text was updated successfully, but these errors were encountered: