lingui / lingui/js-lingui

Compatible with React Compiler?

Open
#2,343 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.9k
Forks
457
Avg merge
1d 23h
Merged PRs (30d)
16

Description

React Compiler has now launched version 1.0. It seems that usages like directly using i18n.date or i18n.number inline within components, as mentioned in the documentation (https://lingui.dev/tutorials/react), will be memoized. Should Lingui become more "React Compiler" friendly?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the React usage examples in the linked tutorials/react documentation and compare inline i18n.date and i18n.number calls with React Compiler expectations. Determine whether a concrete Lingui change is needed and define compatibility criteria; the issue does not name files, tests, or a finished behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, internationalization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.