Skip to content

Fix: map performance sol3#4

Open
aymoun95 wants to merge 4 commits into
Jobflow-io:mainfrom
aymoun95:fix/map-performance-sol3
Open

Fix: map performance sol3#4
aymoun95 wants to merge 4 commits into
Jobflow-io:mainfrom
aymoun95:fix/map-performance-sol3

Conversation

@aymoun95

Copy link
Copy Markdown

Description

  • Enhance map poor performance upon loading multiple markers solution 2

Test

  • Before pulling try out the map on the main branch, open the performance monitor and check the js and ui threads fps
  • checkout out this branch
  • check the performance monitor, it gets 60 fps all the time for Android and ios gets to 60fps on loading the markers

Idea

this solution is only destined for ios ( android was fixed on the second solution), in this one the idea to keep track of the images if there network request is done and after that we disable the tracksViewChanges. The tracking is happened using ref so no re-render cost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants