Usman Suleiman Babakolo

Results 13 comments of Usman Suleiman Babakolo

Non-component Snackbar like `react-native-snackbar` Custom Picker

@Trancever Yeah! It's awesome but sometimes I want the option of calling it like `Snackbar.show(Message)` instead of `Message`

For future reference, the solution is here. Change the `android:value` to `true` ``` ```

Use a transparent background splash screen

Shouldn't this be closed? https://www.prisma.io/docs/guides/development-environment/environment-variables#expanding-variables

```tsx import Icon from "@expo/vector-icons/MaterialCommunityIcons"; import { ComponentProps } from "react"; type Props = ComponentProps; export type IconName = Props["name"]; ```

```js const errorLink = onError(({ networkError, forward, operation }) => { operation.setContext(async ({ headers = {} }) => { const token = await getNewToken(); if (token) { return { headers:...

> Hey @usmansbk 👋 > > Appreciate the code snippet, but I'm afraid there are a few things that won't work with that implementation. > > `operation.setContext` expects the value...

You should. This is the complete snippet on how I implemented refreshTokenLink. ```ts const retryLink = new RetryLink(); const httpLink = new HttpLink({ uri: env.graphqlApiEndpoint, }); const refreshTokenLink = onError(({...