Skip to content

Commit

Permalink
Merge branch 'release/2.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
lloy0076 committed May 13, 2020
2 parents 3b4ea04 + 82d7b5c commit b9f7996
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,22 @@ The value in the outer quotes will be substituted *verbatim* into the code, so
to use `http://www.books_api.com` use `'"http://www.books_api.com"'` or
`"'http://www.books_api.com/`.

When deploying to a web server, any request must be resolved to the `index.html` or
the non-hash based router will not work; a sample `.htaccess` is:

```
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.html
```

## TODO

- Write tests;
- Handle backend errors more gracefully
- Currently, some backend errors are simply serialised to the user (so they say
technically valid but user unfriendly things)
- Figure out how to use a non-hash router
- I tried to get a `pushState` router working, but it refused to play correctly
- Close the stack collapse on route change in mobile/small screen mode.

## LICENSE
Expand Down

0 comments on commit b9f7996

Please sign in to comment.