Daniel Martín
Daniel Martín
@JacquesBackbase why don't you put it as part of your state? You'll have access to it from everywhere in the app (including middleware) and it even gives you the ability...
I thought the environment was just plain values, of course. For services, I inject them into the middleware as well. For instance, I have a middleware that handles a music...
Sorry, I haven't explained myself very well. I know how to make the `getState` return type non-optional, something like ```swift let getState: () -> State = { [unowned self] self.state!...
Interesting. Following this approach, maybe instead of passing it the whole store, we can pass it only the tuple with the two functions the current middleware needs? This could simplify...
I'm having the same issue with `useDatePicker` and TypeScript on strict mode. `null` is not allowed, and using `undefined` instead leaves the hook in an uncontrolled state, behaving differently. Does...
@christofferok thanks, @christofferok - that's what I did too. 😞
I suffered from this today and arrived at this issue from a different misunderstanding. React doesn't behave the same if the component suspends in the initial render vs. in a...
Thanks for the response, @bartolkaruza. I was wondering if it would be better if the padding applied by the consumer was added to the safe area one, instead of being...
I wanted to share my thoughts regarding this because I found the current approach not ideal. I discussed this internally before creating the issue and people agreed with me that...
@esr360 Until this issue is solved, you need to add another view inside the SafeAreaView and apply your padding there, because SafeAreaView uses the padding style prop to implement its...