-
Notifications
You must be signed in to change notification settings - Fork 508
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
Reimplement Monitor view as React functional component with hooks #2013
Comments
hi @yurishkuro |
Go ahead |
So, we're gonna flip the
The goal is to keep the logic intact but just translate it into the functional component style. Hope this helps you envision how the refactored component will look! Let me know if there's a specific part you want more detail on. |
Hi! Is this issue available to work on? |
@EshaanAgg yes, since there is no PR attached |
@yurishkuro how to check if my code is running correct after changing the component |
@yurishkuro i did rewrite the monitor , i don 't see any error except for the below , is there anything i missed |
why would making Reach changes result in any network-related errors? |
@Sweetdevil144 I did rewrite the monitorServiceView as a functional component but, I could not pass all the test. This is a picture of the error My current solution is at Ghaby-X@1c133b3 |
@yurishkuro is this issue open to work on? |
if it's open it's available. I don't see PRs. |
packages/jaeger-ui/src/components/Monitor/ServicesView/index.tsx
is a class based component with pretty convoluted state management. It can be simplified if implemented as a functional component with hooks.References:
Related/similar PRs:
The text was updated successfully, but these errors were encountered: