Closed klondikemarlen closed 5 months ago
Fixes https://github.com/icefoganalytics/travel-authorization/issues/172
There are currently a bunch of different patterns in place, and its a pain to remember the interface of the of each old pattern.
The latest pattern can be seen in web/src/use/use-user.js
web/src/use/use-user.js
Use newer pattern and standardize file naming. Move defineExpose usage to end of setup to handle order of operations scoping.
defineExpose
dev test
dev test_api
dev up
Fixes https://github.com/icefoganalytics/travel-authorization/issues/172
Context
There are currently a bunch of different patterns in place, and its a pain to remember the interface of the of each old pattern.
The latest pattern can be seen in
web/src/use/use-user.js
Implementation
Use newer pattern and standardize file naming. Move
defineExpose
usage to end of setup to handle order of operations scoping.Testing Instructions
dev test
(ordev test_api
)dev up