Skip to content
New issue

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

Move cancellable logic to BE #486

Merged
merged 2 commits into from
Aug 27, 2024
Merged

Conversation

seallard
Copy link
Contributor

The FE becomes less bloated with business logic if we shift the complex conditionals to the backend instead.

When you need conditional rendering for a component, it is cleaner to provide the calculated value for that conditional from the BE rather than spreading such logic throughout the FE code.

@seallard seallard requested a review from a team as a code owner August 27, 2024 08:59
Copy link

@seallard seallard merged commit 85e23eb into master Aug 27, 2024
5 checks passed
@seallard seallard deleted the add-cancellable-bool-to-response branch August 27, 2024 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants