Skip to content

Commit 2dd8fbf

Browse files
committed
l33t size.
1 parent aca8046 commit 2dd8fbf

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
<img src="assets/wouter.svg" align="right" width="250" alt="by Katya Simacheva" />
3030

31-
- Zero dependency, only **1308 bytes** gzipped vs 11KB [React Router](https://github.com/ReactTraining/react-router).
31+
- Zero dependency, only **1322 bytes** gzipped vs 11KB [React Router](https://github.com/ReactTraining/react-router).
3232
- Supports both **React** and **[Preact](https://preactjs.com/)**! Read _["Preact support" section](#preact-support)_ for more details.
3333
- No top-level `<Router />` component, it is **fully optional**.
3434
- Mimics [React Router](https://github.com/ReactTraining/react-router)'s best practices by providing familiar
@@ -469,7 +469,7 @@ const App = () => (
469469
<Route path="/foo">...</Route>
470470
<Route path="/foo/">...</Route>
471471
</Router>
472-
)
472+
);
473473
```
474474

475475
**[▶ Demo Sandbox](https://codesandbox.io/s/wouter-path-to-regexp-strict-rq72c)**
@@ -618,7 +618,7 @@ const handleRequest = (req, res) => {
618618

619619
We've got some great news for you! If you're a minimalist bundle-size nomad and you need a damn simple
620620
routing in your app, you can just use the [`useLocation` hook](#uselocation-hook-working-with-the-history)
621-
which is only **341 bytes gzipped** and manually match the current location with it:
621+
which is only **370 bytes gzipped** and manually match the current location with it:
622622

623623
```js
624624
import useLocation from "wouter/use-location";

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@
5757
"size-limit": [
5858
{
5959
"path": "index.js",
60-
"limit": "1308 B"
60+
"limit": "1337 B"
6161
},
6262
{
6363
"path": "use-location.js",
64-
"limit": "341 B"
64+
"limit": "377 B"
6565
}
6666
],
6767
"eslintConfig": {

0 commit comments

Comments
 (0)