We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b42986 commit 052dd09Copy full SHA for 052dd09
README.md
@@ -105,6 +105,24 @@ const FormSchema = z.object({
105
});
106
```
107
108
+## Known Issues
109
+
110
+### Server-Side Rendering (SSR)
111
112
+The `PhoneInput` component must be used in a **Client Component**. If you see this error:
113
114
+```
115
+TypeError: Super expression must either be null or a function
116
117
118
+Add `"use client"` to the top of your file:
119
120
+```tsx
121
+"use client";
122
123
124
+This is required because `react-phone-number-input` uses browser APIs that aren't available during SSR.
125
126
## Documentation
127
128
You can find out more about the API and implementation in the
0 commit comments