-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch date from a bound variable to a store
Workaround for the behavior in the second REPL here: sveltejs/svelte#4265 (comment) causing two gridded data fetches to happen per change instead of one. (And fast enough that the Fetcher object doesn't seem to be able to abort them? Might be a separate issue.) Also a good time to learn how to use stores, I guess. I think having the bound variables is clearer in this case so we may want to revert this once the Svelte bug is fixed, but stores are still pretty neat.
- Loading branch information
Showing
3 changed files
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters