Results 251 comments of Thomas Heller

Clever but I really don't like writing files during macro expansion. Let alone writing to a global directory where other projects may also end up writing pulling queries from other...

I did not look into `gatsby` that much and don't know what `createPages` is capable of. If you have access to the pages that actually get generated you could inject...

But that puts all queries into one file which probably is not ideal with regards to code splitting, eg. all pages will have all data.

Not if you can do it per page since it would be pretty easy to extract which pages used which queries. I'm a bit preoccupied with the shadow-cljs UI right...

I did experiment with that. I however didn't seem to make much on an impact whether the files are filtered or not in `release` builds. Building the bundle takes about...

FWIW I took the `hive` project you linked above and compiled it using `shadow-cljs` and tried to publish it. ``` [12:28:42] Unable to find an existing Expo CLI instance for...

Interesting, but I don't think this is the way to go as an optimization strategy. For example I ran this to generate the [shadow-cljs UI css](https://github.com/thheller/shadow-cljs/blob/master/src/dev/build.clj#L6). While the resulting file...

Hmm right, not something I considered. Will think about it.

This is a surprisingly difficult thing to get right. While it won't be common it is absolutely possible to have both files use a `(css ..)` form in the exact...

FWIW one possible fix is using a `.cljc` file instead of two separate files. Not something I usually recommend but reasonable for this case.