Skip to content

Commit

Permalink
cleaning and updating packages
Browse files Browse the repository at this point in the history
  • Loading branch information
StopNGo committed Oct 8, 2024
1 parent ac6f309 commit ed679f6
Show file tree
Hide file tree
Showing 7 changed files with 353 additions and 440 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ Preact is a fast and compact React-compatible Virtual DOM library. But because i

| | React | Preact |
| ------- | --------- | -------- |
| Parsed | 262.7 KB | 150.5 KB |
| Gzipped | 86.78 KB | 52.11 KB |
| Parsed | 262.9 KB | 150.55 KB |
| Gzipped | 86.84 KB | 52.09 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 ed679f6

Please sign in to comment.