Description:
In #230, we added a fix to keep the native iOS visitableURL in sync using a Key-Value Observer on WKWebView.url. This resolved a pull-to-refresh regression. However, there’s still a sync concern between the native and JS sides that was brought up during discussion.
Discussion points:
• Would triggering onLoad on the JS side help ensure tighter sync between native state and the actual page state?
• How can we do this cleanly without relying on hacky solutions like monkey-patching history API?
• If we do this for iOS, should we also consider it for Android to ensure consistent behavior across platforms?
This needs further investigation and should be handled separately to keep the previous PR focused.