{"push_id":981117066,"size":2,"distinct_size":2,"ref":"refs/heads/perf/autoHideContainer-render","head":"9e0895b86a92c695ca604d6bb6e1e6fd4baae61e","before":"af530298910618d5d8d925ff8ec25b9a747eebdf","commits":[{"sha":"8c89862a2ee8307863ba91f20db9a86e2a9c9496","author":{"email":"b0afb942d9fb3361e7757f25b2772b9d2cd06866@algolia.com","name":"vvo"},"message":"perf(autoHideContainer): stop re-creating React components\n\nThe previous strategy for autoHideContainer was to either return an\nempty div or the wrapped element.\n\nSo when the widget cycle was like this: init => hide (no results) =>\nshow (results) then we would re-create instances of React components because of a\ndifferent render() output in autoHideContainer.\n\nThis I discovered it while going to do #835: when the widgets would\nhide => show we would lose the wrapped React component state resulting\nin lost collaspable state.\n\nNot only this commit will permit doing #835 easily but it also somehow\nenhance performance since I also added a shouldComponentUpdate\nstrategy.\n\nAdded more precise tests on this decorator/HOC.","distinct":true,"url":"https://api.github.com/repos/algolia/instantsearch.js/commits/8c89862a2ee8307863ba91f20db9a86e2a9c9496"},{"sha":"9e0895b86a92c695ca604d6bb6e1e6fd4baae61e","author":{"email":"b0afb942d9fb3361e7757f25b2772b9d2cd06866@algolia.com","name":"vvo"},"message":"fix(Slider): do not render Slider when range.min === range.max","distinct":true,"url":"https://api.github.com/repos/algolia/instantsearch.js/commits/9e0895b86a92c695ca604d6bb6e1e6fd4baae61e"}]}