Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Children of a wrapped component return as null. #6

Closed
joente opened this issue Feb 8, 2021 · 0 comments · Fixed by #7
Closed

Children of a wrapped component return as null. #6

joente opened this issue Feb 8, 2021 · 0 comments · Fixed by #7
Assignees
Labels
bug Something isn't working

Comments

@joente
Copy link
Member

joente commented Feb 8, 2021

When wrapping a component by using withVlow, the children props are null.

For example:

function MyComponent({ children }) {    
    console.log(children);  // null
    ...
}
export default withVlow({ ... })(MyComponent);
@joente joente added the bug Something isn't working label Feb 8, 2021
@joente joente self-assigned this Feb 8, 2021
@joente joente closed this as completed in #7 Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant