CRAlpha / CRAlpha/react-native-wkwebview

Is it possible to load a page once and then injectJavascript?

Open
#214 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
637
Forks
263
PR merge metrics
No merged PRs in 30d

Description

I would like to embed webview in other react components, but they are inside of a router.

There, its causing a page load. I would like to avoid a page load, and load a url once, and then use injectJavascript to interact with that page.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the React Native component lifecycle inside the router, focusing on the URL-loading entry point and injectJavascript. Determine whether the webview can be retained across route changes; done means the URL loads once while later injectJavascript calls still interact with that page.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.