Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

How do u "squash" Hight order components ? #652

Closed
burrack opened this issue Apr 22, 2018 · 2 comments
Closed

How do u "squash" Hight order components ? #652

burrack opened this issue Apr 22, 2018 · 2 comments

Comments

@burrack
Copy link

burrack commented Apr 22, 2018

In Andrew Clark talk about recompose, he talked about a way to "squash" high order components into one.
When i'm using recompose i always see in react dev tools all of the high order component instead of one.

Is there a way to squash component into one with recompose ?

Thanks!

@burrack burrack closed this as completed Apr 24, 2018
@s14k51
Copy link

s14k51 commented Sep 3, 2018

@burrack I have been searching for the same thing as you. Why is this issue closed? Did you find a way to "squash" the hocs into one? If so, can you provide an example? Thank you.

@s14k51
Copy link

s14k51 commented Sep 4, 2018

Oops. I made a hasty comment. Forgot to look into #182

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants