Closed luisherranz closed 7 years ago
The API could be something like this:
<Defer time={300}> <Post .... > </Defer>
It should render null until time has passed. Then it should render children.
time
children
After testing Defer component we didn't notice any improvement in Slider's performance. I'll proceed to remove it.
The API could be something like this:
It should render null until
time
has passed. Then it should renderchildren
.