« first day (3552 days earlier)      last day (565 days later) » 

 
2 hours later…
16:12
-2
Q: Dynamically managing docker instances across multiple servers

jaal kamzaI own a fairly large series of Discord bots. It's quite common as you grow to offer premium features to help pay for the costs of hosting. Because of this I would like to add custom instances, which are essentially a private instance of the bot which runs using the users own credentials (app toke...

 
2 hours later…
17:56
ok.. I am not a react expert but maybe it can be done with a ref.. that is used inside the `debounceResize` like `setWindowResize({width: ref.current.width})` and in a `useEffect`

```
useEffect(() => {
ref.current = {width: window.innerWidth, height: ....}
}, [window.innerWidth, window.innerHeight])
```
1 message moved from JavaScript
ok.. I am not a react expert but maybe it can be done with a ref.. that is used inside the `debounceResize` like `setWindowResize({width: ref.current.width})` and in a `useEffect`


useEffect(() => {
ref.current = {width: window.innerWidth, height: ....}
}, [window.innerWidth, window.innerHeight])
1 message moved from JavaScript

« first day (3552 days earlier)      last day (565 days later) »