Yu Li

Results 15 comments of Yu Li

I think you can just remove the velocity check: ``` const velocityDirection = -Math.sign(velocity); if (page === nextPage || velocityDirection !== offset) { // not going anywhere! Velocity was insufficient...

Thanks for the explanation. I thought my configuration was wrong.

Hi @captbaritone, currently is there any technical difficulty for simply generating the type as ``` export type NewProductReviewScreenInitialQuery$data = { readonly product: NewProductReviewScreen_ProductFragment$key | null | undefined; }; ``` instead...

@Jaza You can get the `mapboxgl.Map` instance from `ref`. From there, you can hook up anything you want from the `mapbox-gl` pacakge. There's an example ``` import WebMapView from '@rnmapbox/maps/src/web/components/MapView';...

In an ESM project, I got it working by using using tsx https://www.npmjs.com/package/tsx/v/4.0.0 ``` eslint-local-rules.cjs eslint-local-rules/index.ts eslint-local-rules/sort-function-argument-props.ts eslint-local-rules/collapse-single-object-argument.ts ... your rules as .ts ``` And ``` // eslint-local-rules.cjs require('tsx/cjs'); module.exports...