React development server for development #29

Closed
opened 2018-02-21 23:01:33 +01:00 by akinwale · 2 comments
akinwale commented 2018-02-21 23:01:33 +01:00 (Migrated from github.com)

Find a way to enable get the React development server working so that Javascript code can be reloaded without having to rebuild the app bundle and APK every time.

Find a way to enable get the React development server working so that Javascript code can be reloaded without having to rebuild the app bundle and APK every time.
akinwale commented 2018-03-10 12:46:22 +01:00 (Migrated from github.com)

I was able to take a different approach by creating a new React Native app using the create-react-native-app CLI tool, and developing this app UI separately from the daemon. I can then proceed to easily test the app with a daemon running locally on the device, or a daemon running remotely.

With the created React Native app, I can hot reload any UI changes which speeds up the frontend development process. I am also maintaining the same folder structure as the android build which makes it easy to just copy over the files and then build the APK as required with buildozer.

I was able to take a different approach by creating a new React Native app using the `create-react-native-app` CLI tool, and developing this app UI separately from the daemon. I can then proceed to easily test the app with a daemon running locally on the device, or a daemon running remotely. With the created React Native app, I can hot reload any UI changes which speeds up the frontend development process. I am also maintaining the same folder structure as the android build which makes it easy to just copy over the files and then build the APK as required with buildozer.
kauffj commented 2018-03-12 20:34:52 +01:00 (Migrated from github.com)

@akinwale nice! I encourage you to keep the README or INSTALL file up to date with the recommended dev set up.

@akinwale nice! I encourage you to keep the `README` or `INSTALL` file up to date with the recommended dev set up.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-android#29
No description provided.