Export createBottomSheetScrollableComponent
See original GitHub issueFeature Request
Why it is needed
With the new FlashList
from shopify, it would be great to be able to use it with BottomSheet
. For that I propose to export createBottomSheetScrollableComponent
, so a -BottomSheetFlashList
- can be build
I have a really big FlatList
inside a BottomSheet
, that has infinitive scrolling. It would be great to get the performance boost from FlashList
Possible implementation
I guess it would be straight forward to export createBottomSheetScrollableComponent
. Perhaps it should be mentioned in the docs, that the component needs to be memoized as well.
Code sample
const BottomSheetFlashListComponent = createBottomSheetScrollableComponent<
BottomSheetFlatListMethods,
BottomSheetFlatListProps<any>
>(SCROLLABLE_TYPE.FLATLIST, AnimatedFlashList);
const BottomSheetFlashList = memo(BottomSheetFlashListComponent);
Issue Analytics
- State:
- Created a year ago
- Reactions:5
- Comments:5
Top Results From Across the Web
Cannot re-export a type when using the --isolatedModules ...
TS 3.8+. You can use type-only imports and exports with --isolatedModules : // types.ts export type MyType = { a: string; b: number;...
Read more >gorhom/bottom-sheet - npm
A performant interactive bottom sheet with fully configurable options . Latest version: 4.4.5, last published: 3 months ago.
Read more >[sentinelone] HermeticWiper | New Destructive Malware Used In ...
Export createBottomSheetScrollableComponent, 5, 2022-06-30, 2022-08-24. querylog_interval not work, 2, 2021-10-29, 2022-07-14.
Read more >export to expose all used classes - Turms-Im/Turms - IssueHint
export to expose all used classes. ... Export createBottomSheetScrollableComponent, 5, 2022-06-30, 2022-10-09. Integration with MacOS share menu.
Read more >React Export Guide — Step by Step | by Juan Maguid - Medium
How to export to React. Follow these instructions to the point and you'll be exporting to React code and components in super little...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Pending when the implementation is available publicly, you can pass
BottomSheetScrollView
torenderScrollComponent
in yourFlashList
rendered in aBottomSheet
. This prop is the same as theexternalScrollView
of RecyclerListView.This works for me