Skip to content

Commit

Permalink
Merge branch 'main' of github.com:horita-yuya/rscq
Browse files Browse the repository at this point in the history
  • Loading branch information
horita-yuya committed Oct 16, 2023
2 parents af5ab6c + ee21b66 commit c81586c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# React Server Component Parser (v0.0.2 alpha)
# React Server Component Parser (v0.0.6 alpha)

### Install
```
go install github.com/horita-yuya/[email protected]
```

If you have used Next.js with AppRouter, you may have noticed that browser get React Server Component from Next server.
You can check this request in Network tab of Chrome DevTools.
Expand Down Expand Up @@ -44,7 +49,7 @@ a:["$","div",null,{"children":"Heavy Server Component"}]

I can read it if I try, but I want it to be easier to read.

rscq is a tool to parse this payload. You can try `cat examples/sample2.rsc | go run main.go`
rscq is a tool to parse this payload. You can try `cat examples/sample2.rsc | rscq`

```
0--------------------
Expand Down

0 comments on commit c81586c

Please sign in to comment.