question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

class => functional components & hooks migration coordination.

See original GitHub issue

All unchecked class components in the following list weren’t migrated yet from class components to a functional component with hooks & connectors :

  • components/ErrorScreen
  • components/shared/Balance
  • components/buttons/*
  • components/Header
  • components/Paginator
  • components/inputs/*
  • components/inputs/AccountSelector.js
  • test/unit/components/inputs/DcrInput.spec.js
  • components/layout/*
  • components/views/TicketsPage/PurchaseTab/StakeInfo/StakeInfo.jsx
  • components/modals/trezor/*
  • components/views/TrezorPage/*
  • components/indicators/LoaderBarBottom.js
  • components/views/LNPage/* - WIP
  • containers/App.js
  • components/views/TicketsPage/PurchaseTab/LEGACY_PurchasePage/LEGACY_PurchaseTickets/index.js
  • components/views/TicketsPage/PurchaseTab/LEGACY_PurchasePage/LEGACY_TicketAutoBuyer/index.j

Original issue: #2438

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
bgptrcommented, Mar 14, 2021

components/views/TicketsPage/PurchaseTab/LEGACY_PurchasePage/LEGACY_TicketAutoBuyer/index.js is missing from the list. On it.

1reaction
bgptrcommented, Mar 12, 2021

app/components/inputs/LEGACY_StakePoolSelect.js is missing from the list. I’m working on it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React: Migrating from Class to Functional Components (with ...
Using hooks provides several advantages: Simplified state, simplified life-cycle control, and ease of customization. Simplified State. The ...
Read more >
Migrating from class components to React hooks
There we have it! We have successfully migrated a class-based component to a functional component using hooks. It is worth noting that most ......
Read more >
Understanding Functional Components vs. Class ...
Understand the differences between functional and class components with sample code so that you can dive into the world of modern React!
Read more >
React Hooks Migration
This tutorial shows a migration path on how to write React Class Components as React Function Components with React Hooks.
Read more >
Choosing between Functional and Class Components in ...
Pros of Functional Components:​​ State and lifecycle handling is easily done using “hooks” like useState and useEffect. There is no need to be ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found