Gajus Kuizinas

Results 775 comments of Gajus Kuizinas

I believe this documents implications of `keepAlive` setting https://stackoverflow.com/a/46884708/368691 > `keepalives` is a client-side setting. > > If you set it to 0, the TCP socket on the client machine...

You should memoize that callback ```ts const handleScrollerRef = useCallback((ref) => { scrollerRef.current = ref; }, []); ```

> Clean up word lists. (easy / medium - it is not easy to tell which word lists you want to clean) > Notify out dated in-line words / ignores....

Sorry, it was 3 years ago – I don't recall the outcome. I typically follow up if I do find a solution though. I am guessing I moved to other...

For what it is worth, we are currently using `pageContext._getPageAssets()`. ``` { src: '/static/assets/chunk-96ac6e2c.js', assetType: 'preload', mediaType: 'text/javascript', preloadType: 'script' }, ``` It appears that `assetType` and `preloadType` are mixed...

For anyone else, this is how we use these hints: ```ts const earlyHints: string[] = []; // @see https://github.com/brillout/vite-plugin-ssr/issues/262 // @ts-expect-error Internal API. const pageAssets = await pageContext._getPageAssets(); // The...

@alex3165 Are you aware of this?

For what it is worth, I have implemented this functionality in Slonik. https://github.com/gajus/slonik#slonik-usage-end-connection-pool Of course, the majority of the work is still done by pg-pool. Slonik simply enables this functionality...

@cwelch5 Can you make `HELMET_ATTRIBUTE` configurable? In the mean time, a dirty workaround is: ```js require('react-helmet/lib/HelmetConstants.js').HELMET_ATTRIBUTE='data-react'; ``` Personally, I don't feel comfortable exposing the fact that the server-side code is...

It is not a question. You have a method `getHeaders`, which is not part of the spec, but it is part of your public API. https://github.com/form-data/form-data/blob/7629e30d4175fa07965a59f70ba5022172f9494a/lib/form_data.js#L293 This method is not...