hensei-web/types
Justin Edmund fc616aab01
Break collection pages into hooks (#414)
This refactors the collection pages (teams, saved and profiles) into a
bunch of hooks that handle various chunks of functionality. This way,
the actual "pages" have significantly less logic and significantly less
repeated code.

* **useFavorites** handles favoriting teams
* **useFilterState** handles the URL query filters
* **usePaginationState** simply holds data pertaining to pagination
* **useFetchTeams** handles fetching and parsing team data from the
server
* **useTeamFilter** pulls all other states together and handles some
logic that is closest to the page

Co-authored-by: Justin Edmund <383021+jedmund@users.noreply.github.com>
2024-04-21 00:46:04 -07:00
..
AccountCookie.d.ts Implement rudimentary Bahamut Mode (#381) 2023-09-09 02:29:30 -07:00
AppUpdate.d.ts
Awakening.d.ts
Character.d.ts
CheckedState.d.ts
declarations.d.ts
ElementState.d.ts
FilterSet.d.ts Break collection pages into hooks (#414) 2024-04-21 00:46:04 -07:00
GranblueCookie.d.ts
GranblueElement.d.ts
GridArray.d.ts
GridCharacter.d.ts
GridSummon.d.ts
GridWeapon.d.ts Add support for weapon transcendence (#402) 2024-01-15 14:16:49 -08:00
Guidebook.d.ts
index.d.ts Logic updates for Draconic Weapons Providence (#389) 2023-12-26 03:21:39 -08:00
ItemSkill.d.ts
Job.d.ts
JobAccessory.d.ts
JobSkill.d.ts
MentionItem.d.ts
OnClickEvent.d.ts
Party.d.ts
ProficiencyState.d.ts
Raid.d.ts
RaidGroup.d.ts
RarityState.d.ts
SimpleAxSkill.d.ts
Summon.d.ts Add support for weapon transcendence (#402) 2024-01-15 14:16:49 -08:00
TeamElement.d.ts
User.d.ts Implement rudimentary Bahamut Mode (#381) 2023-09-09 02:29:30 -07:00
UserCookie.d.ts
Weapon.d.ts Add support for weapon transcendence (#402) 2024-01-15 14:16:49 -08:00
WeaponKey.d.ts Logic updates for Draconic Weapons Providence (#389) 2023-12-26 03:21:39 -08:00
WeaponSeries.d.ts