DEV Community

Discussion on: Live query render with Rails 6 and Stimulus JS

Collapse
 
mirmayne profile image
Daveyon Mayne 😻

Hi oliwoodsuk.

I believe Shopify uses GraphQL for their fetching? I have not taken into consideration server load etc. You many want to cache the results or fire the query when the user enters at least 2 characters. What you've done looks cool.

Collapse
 
oliwoodsuk profile image
oliwoodsuk

Yeah, pretty sure your right actually. Ah yep, good idea. I think I'll do just that.