Closed jeremy-jtlo closed 2 years ago
Sorry, but there is a metric ton to unpack here.
The changes include (but are not limited to):
MoveDTO
MoveFactory.ts
PokemonFactory.ts
PokemonData.ts
PokemonDTO
PokemonDisplay.tsx
Of course not all of this is perfect. There is some technical debt I'd like to address via features in the future.
PokemonDisplayContainer.tsx
PokemonDisplayRenderer.tsx
Sorry, but there is a metric ton to unpack here.
The changes include (but are not limited to):
MoveDTO
s have been made more flexible, and can be declared with fewer optionsMoveDTO
entitiesMoveFactory.ts
andPokemonFactory.ts
PokemonData.ts
PokemonDTO
is now capable of returning its data for the purposes of display in a view, asPokemonDisplay.tsx
requiresOf course not all of this is perfect. There is some technical debt I'd like to address via features in the future.
PokemonDisplay.tsx
file is getting big. It should likely be shattered into 2 pieces:PokemonDisplayContainer.tsx
andPokemonDisplayRenderer.tsx
.