We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use SubscriptionManager to migrate List components to providers.
interface Props { trainingList: TrainingSummary[]; fetchTrainings: (studentId: number) => void; } export class TrainingListPage extends React.Component<Props, {}> { public componentDidMount() { this.props.fetchTrainings(this.props.studentId); } public render() { return ( <div> ... </div> ); } }
src/common/components/subscriptionManager
Create a fork.
Create new branch called feature/<issue_number>_Migrate to List Providers components (where issue_number is the id of this issue given by Github).
You can see how this kind of Provider component is implemented in src/pages/trainer/training/list/trainingListProvider.tsx
src/pages/trainer/training/list/trainingListProvider.tsx
Migrate to provider component all list components from Admin, Trainer and Student modules.
The text was updated successfully, but these errors were encountered:
Assigned to @navass, pending on his confirmation joining the project to properly assign it to him.
Sorry, something went wrong.
navass
No branches or pull requests
Use SubscriptionManager to migrate List components to providers.
src/common/components/subscriptionManager
component to avoid use componentDidMount in this Presentational component.Steps:
Create a fork.
Create new branch called feature/<issue_number>_Migrate to List Providers components (where issue_number is the id of this issue given by Github).
You can see how this kind of Provider component is implemented in
src/pages/trainer/training/list/trainingListProvider.tsx
Migrate to provider component all list components from Admin, Trainer and Student modules.
Important: Follow this work flow
The text was updated successfully, but these errors were encountered: