I spent an hour chasing down the cause of transition framerate jank in a VueJS app at the weekend — it turned out it was caused by Graphcool consistently responding too quickly to queries, and triggering DOM updates midway through the transition 😄
a
agartha
09/25/2017, 6:20 PM
Just create a dummy type with a 1000 records, and add that to your query, that'll slow it down just enough 😄
j
jonathanheron
09/25/2017, 7:34 PM
I decided to aggressively preload data and take advantage of the fast response. Now, when the user mouses over a card, I load all the data I'll need if they click to open.
jonathanheron
09/25/2017, 7:35 PM
I'm sure I'll regret this later, but for now it solves the jank, feels great, and saves me writing smarter code