@makerinc/ssr-component 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,11 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
React component for embedding [Maker](https://ai.maker.co) projects with server-side rendering (SSR).
|
|
4
4
|
|
|
5
|
+
## Why Server-Side Rendering?
|
|
6
|
+
|
|
7
|
+
Server-side rendering means your content is fully prepared on the server before it reaches your visitor's browser. Think of it like having a chef prepare your meal in the kitchen rather than asking you to cook it yourself at your table.
|
|
8
|
+
|
|
9
|
+
**Key Benefits:**
|
|
10
|
+
|
|
11
|
+
- **Faster Loading**: Users see content immediately instead of waiting for JavaScript to build the page
|
|
12
|
+
- **Better SEO**: Search engines can easily read and index your content, improving your website's discoverability
|
|
13
|
+
- **Improved Accessibility**: Screen readers and other assistive technologies get complete content right away
|
|
14
|
+
- **Reliable Performance**: Your content displays properly even if JavaScript fails to load or is disabled
|
|
15
|
+
|
|
16
|
+
> **⚠️ Important Note**: SSR may not work properly with pages that contain animated components or complex interactive elements that rely on client-side state. Animations and dynamic behaviors are captured as static snapshots during server-side rendering.
|
|
17
|
+
|
|
5
18
|
## Features
|
|
6
19
|
|
|
7
20
|
- Server-side rendering for optimal performance
|
|
8
21
|
- SEO-friendly with meta tags and proper HTML structure
|
|
9
|
-
- Client-side hydration for interactive components
|
|
10
22
|
- TypeScript support
|
|
11
23
|
- Works with Next.js, React Server Components, and any React framework
|
|
12
24
|
|