Skip to content

Commit daaf8ba

Browse files
committed
update image url
1 parent 7810ccb commit daaf8ba

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# esbuild-react18-useclient
22

3-
<img src="./esbuild-react18-useclient\esbuild-react18.jpg?raw=true" title="Build Awesome Libraries using React Server Components and make your Mark!" style="width:100%"/>
3+
<img src="https://github.com/mayank1513/esbuild-react18-useclient/blob/main/esbuild-react18.jpg?raw=true" title="Build Awesome Libraries using React Server Components and make your Mark!" style="width:100%"/>
44

55
> Build Awesome Libraries using React Server Components and make your Mark!
66
77
This is an `esbuild` plugin for compiling libraries compatible with React 18 server and client component, Nextjs13, Remix, etc.
88

9-
Introduction of React server components in React 18 has unlocked immense possibilities. However, library authors are not yet able to fully encash upon this potential. Many libraries like `chakra-ui`, simply add "use client" for each component. However, much more can be unlashed when we can use both server and client components to build libraries.
9+
Introduction of React server components in React 18 has unlocked immense possibilities. However, library authors are not yet able to fully encash upon this potential. Many libraries like `chakra-ui`, simply add "use client" for each component. However, much more can be unlashed when we can use both server and client components to build libraries.
1010

1111
This plugin seamlessly integrates with `tsup` and other builders based on `esbuild`. With this you can have both server and client components in your library and the plugin will take care of the rest. All you need to do is add this plugin and add `"use client";` on top of client components.
1212

@@ -22,14 +22,12 @@ or
2222
pnpm add -D esbuild-react18-useclient
2323
```
2424

25-
or
25+
or
2626

2727
```bash
2828
npm install -D esbuild-react18-useclient
2929
```
3030

31-
32-
3331
## Use with `tsup`
3432

3533
```javascript
@@ -43,8 +41,6 @@ export default defineConfig(options => ({
4341
}));
4442
```
4543

46-
47-
4844
## License
4945

50-
Licensed as MIT open source.
46+
Licensed as MIT open source.

0 commit comments

Comments
 (0)