Repository navigation
Commit 305efa8
committed
chore(i18n): declare the raw-context path's retirement
A value rendered straight into the public InternationalizationContext, without
InternationalizationProvider, drove useLocale, useDirection, useCollator and
every component's strings in the last release; with the hooks reading the
provider's runtime context it reaches none of them. The changeset says so at
the breaking tier, with the migration (mount the provider), and the context
module's header says which readers each context reaches. The shipped i18n
guide qualifies which apps the slicing saves bytes for, and carries its own
docs changeset.1 parent f47a870 commit 305efa8
4 files changed
Lines changed: 14 additions & 5 deletions
File tree
- .changeset
- packages
- cli/assets/docs/tree
- core/src/i18n
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | 4 | | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
0 commit comments