Spawn: Spontaneity made easy. This app aims to ease the friction of making spontaneous plans with your friends, and get rid of the infinite group chat headache.
Other
3
stars
0
forks
source link
`Location` model type matching back-end + `User` `@EnvironmentObject` instead of prop-drilling #51
Adjusted Location model to include: id, latitude, and longitude, based on back-end model changes (and in ERD)
Noticed technical debt, where we're constantly passing through a user object to child-views, and this gets crazy when we keep doing this from view -> view -> view -> view. This is known as prop-drilling in the React ecosystem, and we can avoid it in SwiftUI by using @EnvironmentObject
Location
model to include:id
,latitude
, andlongitude
, based on back-end model changes (and in ERD)Noticed technical debt, where we're constantly passing through a
user
object to child-views, and this gets crazy when we keep doing this from view -> view -> view -> view. This is known as prop-drilling in the React ecosystem, and we can avoid it in SwiftUI by using@EnvironmentObject
(No UI Changes)