Could the InfiniteScrolledMap
callback allow custom data?
#385
-
Hey there! An issue I am facing with
The problems are respectively:
Maybe an alternative would be to have the closure in What do guys you think? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I think recreating to InfiniteScrolledMap is the "right way". Looking at the code, it doesn't seem inefficient, and if it is, a function to swap the closure would do (as it would allow you to recapture the new level). |
Beta Was this translation helpful? Give feedback.
-
If you have a slice of levels, then the index of the currently loaded level index can go in a Cell, which should be pretty cheap. |
Beta Was this translation helpful? Give feedback.
If you have a slice of levels, then the index of the currently loaded level index can go in a Cell, which should be pretty cheap.