Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8ba9b32

Browse files
authored
Update README.md
1 parent 70ef615 commit 8ba9b32

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ You are free to set up your `tsconfig.json` and `tslint` as you see fit.
102102

103103
**If you want to try working in Typescript on the client and lambda side**: There are a bunch of small setup details to get right. Check https://github.com/sw-yx/create-react-app-lambda-typescript for a working starter.
104104

105+
## Routing and authentication
106+
107+
For a full demo of routing and authentication, check this branch: https://github.com/netlify/create-react-app-lambda/pull/18 This example will not be maintained but may be helpful.
108+
105109
## Service Worker
106110

107111
The service worker does not work with lambda functions out of the box. It prevents calling the function and returns the app itself instead ([Read more](https://github.com/facebook/create-react-app/issues/2237#issuecomment-302693219)). To solve this you have to eject and enhance the service worker configuration in the webpack config. Whitelist the path of your lambda function and you are good to go.

0 commit comments

Comments
 (0)