pendulum-chain / portal

The Pendulum/Amplitude portal UI
https://portal.pendulumchain.org/
GNU General Public License v3.0
1 stars 1 forks source link

Migrate from preact to react #608

Closed Sharqiewicz closed 3 weeks ago

Sharqiewicz commented 4 weeks ago

With all the packages in the portal updated in the last 2 weeks, the migration was really straightforward.

What have I done?

  1. Replace the Preact-related packages with React and React-dom
  2. Remove all properties specific to Preact
  3. Migrate event system to React synthetic event system
  4. Remove deprecated babel configuration for tests in the project
  5. Remove all outdated and unused files and configurations

to do:

tested:

Staking

Forex AMM

Spacewalk

Wallet connection

netlify[bot] commented 4 weeks ago

Deploy Preview for rococo-souffle-a625f5 ready!

Name Link
Latest commit 41ca9743fcf6edf8cf54ad80b75cb80975770abb
Latest deploy log https://app.netlify.com/sites/rococo-souffle-a625f5/deploys/6723efc289297400088bb1a1
Deploy Preview https://deploy-preview-608--rococo-souffle-a625f5.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sharqiewicz commented 4 weeks ago

@ebma @TorstenStueber The migration is ready for review ✅

Sharqiewicz commented 3 weeks ago

@TorstenStueber @ebma Applied the changes