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

[Feature Branch] React Functional Conversions #539

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mshriver
Copy link
Contributor

@mshriver mshriver commented Jan 10, 2025

Opening a PR to observe the delta between the react migration branch and main.

  1. Convert dashboard to functional #534
  2. Convert IbutsuHeader to functional component #535

* Convert Dashboard to functional component

it would be shorter to list what didn't change.

Everything changes?

useEffect replacing compnentDidMount
No more weird handling of filter values, let API filtering do it's job
Cleaned up small behaviors around button enabling

State use makes way more sense now

dashboard_id is sanely synced when direct navigation via URL

don't wait for promise repsonse to set modal open state
@mshriver mshriver changed the title Convert dashboard to functional (#534) [Feature Branch] React Functional Conversions Jan 12, 2025
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.

1 participant