Thomas Chia

Results 14 comments of Thomas Chia

I am happy to provide a fix for #25 . However, I think we need to deal with the fact that the maintainers of sqlstring will [not be adding support...

@philipp-spiess looks great! I was coming at it more from the perspective of a non-redux user, and thinking about it in super simple terms. i.e. combining `useContext` and `useReducer` to...

@simonbuchan any chance you could expand on the process for testing functions that call the Cognito SDK methods? I have auth functions in my web app that calls `cognitoUser.authenticateUser()` etc...

@nguyeti if you're talking about stubbing the functionality of this library, I suggest using a dependency injection pattern so you can easily mock it for your tests.

I don't mind having a stab at making this work. However the only way I can think of doing it is to add webpack. The reason for this is that...

Hi @Lms24 thanks for the update. After looking at the code snippet, it indeed seems like the `timeoutWarningLimit` we specify is supposed to be the amount of time left before...

I think you can depend on the `redux` type definition for `Middleware`, rather than re-typing it here.

Totally agree that we should get some hooks going on!

Hello @cobraz - I am so sorry that I did not get back to you on this sooner. If this endeavour is still of interest to you I have no...

Could you elaborate on this? Currently the behaviour is that whatever you have wrapped in `makeAuthenticator` will always redirect you to the login page if you are not logged in.