DevLog Day 6 - olindner/LightDisc GitHub Wiki

  • Decided to stop hardcoding within App.tsx and move map coordinate data to JSON file
    • Hopefully this will hedge against future changes and will be robust way to store GPS data
    • Especially when the app is built out enough to store and retrieve user-created maps
  • Started trying to create a second page/screen which will display throwing data
    • First step is learning about SPA or other React options
    • Second is learning navigation and rendering
    • And third is probably associating the throwing data to the specific hole
  • Took a little break to learn about SPA vs MPA and also Swift
    • Confirmed not using Swift due to locking only into iOS devices (could be a pivot if unable to deploy Expo in future)
  • Learned about Expo routing
  • Installed react-navigation/native using npm
  • Installed react-native-screens and react-native-safe-area-context using npm
    • Errors if tried with npx expo-cli command, even with sudo, assuming using npm is sufficient?
  • Installed react-navigation/native-stack using npm
  • Followed instructions to add and <Stack.Navigator> to App
    • Also started splitting up views into separate components that I need to break into separate files
  • First successful testing of multiple view navigation using the SPA!