Arthur Leonard Andersen

Results 36 comments of Arthur Leonard Andersen

Normally I put `[all, my, query, variables]` into the `useQuery` to avoid multiple runs when other state is changing. @pak11273 I don't understand why you would need another state (`useState`)....

> Can you use `useQuery()` from within the `useEffect()` hook? Hi @phavor, no you can't, since react-hooks cannot be used in the callbacks of react-hooks. I suggest you read up...

> @leoc Maybe I can just use the data from useQuery, I'll try that. I was putting data into useState because that data is a list of books which will...

Thanks for the mention! I would love to see my pull requests #61 and #75 merged in a more actively maintained branch. This should allow heading nesting similar to org-anki...

Hey there! I am currently in a similar position. I just found this issue, but have already posted on gitter.im. Do you remember what the solutions were that you came...

Hi there, I am having the same error with hamlit (2.8.8). Is there some quick fix at the moment? Some version I can downgrade to, so that I can get...

Added some more. Now you can put like this: ``` @item = Happening::S3::Item.new('mybucket', 'bla.mp4') @item.put(:file => '/path/to/local/bla.mp4') ``` This will pass the :file option directly to em-http-request, which will upload...

I changed the `execute` method to return the `Happening::S3::Request` object, for later callback methods. The `EM::HttpRequest` methods/callbacks `#stream` and `#headers` are delegated. It makes more sense, because we create a...

You can now set defaults for all items: ``` Happening::AWS.set_defaults(:aws_access_key_id => 'key', :aws_secret_access_key => 'secret', :bucket => 'bucket') # the bucket default removes the need for a bucket, when instantiating...

Taking the example from before, you can specify callbacks via blocks, no procs for options anymore. ``` Happening::AWS.set_defaults(:aws_access_key_id => 'key', :aws_secret_access_key => 'secret', :bucket => 'bucket') # the bucket default...