Skip to content

Commit 61124da

Browse files
author
sw-yx
committed
update readme
1 parent 4b9279a commit 61124da

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ Use [Netlify Identity](https://www.netlify.com/docs/identity/) easier with React
88

99
You can find [a full demo here](https://netlify-gotrue-in-react.netlify.com/) with [source code](https://github.com/netlify/create-react-app-lambda/tree/reachRouterAndGoTrueDemo/src).
1010

11-
**This library is not officially maintained by Netlify.** This is written by swyx for his own use (and others with like minds 😎). See below for official alternatives.
11+
**This library is not officially maintained by Netlify.** This is written by swyx for his own use (and others with like minds 😎) and will be maintained as a personal project unless formally adopted by Netlify. See below for official alternatives.
1212

1313
## Official Alternatives
1414

1515
This is a "headless" library, meaning there is no UI exported and you will write your own UI to work with the authentication.
1616

1717
If you want to use the official Javascript bindings to GoTrue, Netlify's underlying Identity service written in Go, use https://github.com/netlify/gotrue-js
1818

19-
If you want a "widget" overlay that gives you a nice UI out of the box, at the cost of a larger bundle, check https://github.com/netlify/netlify-identity-widget
19+
If you want a "widget" overlay that gives you a nice UI out of the box, with a somewhat larger bundle, check https://github.com/netlify/netlify-identity-widget
2020

2121
If you want a popup window approach also with a nice UI out of the box, and don't mind the popup flow, check https://github.com/netlify/netlify-auth-providers
2222

@@ -49,15 +49,15 @@ yarn add react-netlify-identity
4949

5050
<details>
5151
<summary>
52-
<b>
53-
Example code
54-
</b>
52+
<h3 style="color: red">
53+
Click to See Example code
54+
</h3>
5555
</summary>
5656

5757
```tsx
5858
import * as React from 'react';
5959

60-
import { useNetlifyIdentity } from './useNetlifyIdentity';
60+
import { useNetlifyIdentity } from 'react-netlify-identity';
6161

6262
const IdentityContext = React.createContext(); // not necessary but recommended
6363
function App() {

0 commit comments

Comments
 (0)