Skip to content

Commit

Permalink
Major updates of some packages and their testing
Browse files Browse the repository at this point in the history
  • Loading branch information
StopNGo committed Sep 13, 2024
1 parent 8c81d70 commit 833131e
Show file tree
Hide file tree
Showing 5 changed files with 1,295 additions and 959 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ Preact is a fast and compact React-compatible Virtual DOM library. But because i

| | React | Preact |
| ------- | --------- | -------- |
| Parsed | 260.92 KB | 147.72 KB |
| Gzipped | 86.22 KB | 51.11 KB |
| Parsed | 262.7 KB | 150.5 KB |
| Gzipped | 86.78 KB | 52.11 KB |

### Why not any common i18n package?
You can freely integrate any React compatible i18n solution. But if React Proto already uses Redux and RTK, why just not use them for this task? Therefore, I have created a custom internationalization solution with a minimum additional code. It supports translations dynamic loading, server side rendering based on user acceptable languages, strict typing, etc. At the moment it just does not support string processing like pluralization, but it could easily be added later.
Expand Down
Loading

0 comments on commit 833131e

Please sign in to comment.