Skip to content

Commit

Permalink
chore: add image to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aralroca committed Mar 24, 2024
1 parent 0ad6501 commit 2323ab6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ In this way:
- The bundle is smaller because instead of carrying all the JS it only carries the prerendered HTML.
- The runtime speed of rendering is faster, it only has to render the dynamic components.

<figure align="center">
<img src="https://github.com/aralroca/prerender-macro/assets/13313058/8ab3cf1d-c395-494e-88aa-69ca207d7bdc" alt="React example" class="center" />
<figcaption><small>React example</small></figcaption>
</figure>


### How it works?

This plugin transforms the previous code to this code:
Expand Down

0 comments on commit 2323ab6

Please sign in to comment.