Pronounced "hiker" (/ˈhaɪkə(r)/), hikr is a basic hike-tracking app.
Using the original hikr app as basis for my own tutorial. For homework, I added the following assignments.
- Add swipe gesture for a hike is selected for a delete action
- Add delete action business logic to the swipe gesture
- Create a new hike page to add a new hike
- When I cloned the editHike page it complained about TitleText already defined
- Moved TitleText into a component and reused that on editHike and addHike pages
- I separated all [page].JS files into a separate Routes folder for better readability
- The delete gesture was actually taken from the to-do example app
- Knowing that observables and arrays behave differently in the app
- Observables respond to changes in data whereas arrays do not
- Observables have an API that is a subset of the array methods
- Arrays are easier to use and found it easier to convert to an array
- Refactored some of the code to use EMCAScript 6 styling
- It appears that backend.js has stub functions and don't actually update any database
- Var were replaced in functions to const since var has a global meaning
- Some names of functions were renamed that were causing confusion
hikr is an example app case to accompany Fuse's end-to-end Fuse app tutorial.
Note: there have been some force-pushes on this repo, so if you've cloned it before the series went live, it's probably a good idea to delete it and clone again.
This code is licensed under the MIT license (see LICENSE).
The provided video file (Assets/nature.mp4
) is a modified version of Graham Uhelski's "The Valley". It is licensed under CC BY 3.0.