Automattic / Automattic/jetpack

Jetpack: consider to replace the react.qrcode library

Open
#25,937 2 comments 0 reactions 0 assignees View on GitHub
[Extension] Post Publish QR Post Panel [Pri] Normal [Type] Janitorial Task
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

This lib depends on https://www.npmjs.com/package/qr-js and it seems to be deprecated.
Possible alternatives:

* https://github.com/gcoro/react-qrcode-logo#readme
* https://github.com/rx-ts/react/tree/master/packages/react-qrious

Warning:
![Image](https://user-images.githubusercontent.com/77539/187539090-cea1ebc2-90b0-4875-9e7c-d254e9502e7d.png)

Contributor guide

Open the contributing guide

Research direction

Start by locating Jetpack's use of the react.qrcode library and its qr-js dependency, then review the two proposed React alternatives. Confirm the deprecation warning and compare whether either alternative covers the existing QR-code behavior. Done means the deprecated dependency is replaced without losing the relevant functionality.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.