You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -292,6 +292,37 @@ This provides a seamless integration with React while maintaining TEA's guarante
292
292
|Pure functions = easy testing
293
293
|===
294
294
295
+
== Package Guarantees
296
+
297
+
=== No Hidden Runtime Dependencies
298
+
299
+
rescript-tea has *zero hidden runtime dependencies*. The only runtime dependencies are the explicitly declared peer dependencies:
300
+
301
+
* `react` / `react-dom` - For rendering
302
+
* `@rescript/react` - ReScript React bindings
303
+
* `rescript` - ReScript compiler/runtime
304
+
305
+
All functionality is implemented in pure ReScript with no external JavaScript libraries bundled or required. What you see in `peerDependencies` is exactly what you get.
306
+
307
+
=== Stable API Surface
308
+
309
+
The public API is explicitly defined in `.resi` interface files:
310
+
311
+
* `Tea.resi` - Main module re-exports
312
+
* `Tea_Cmd.resi` - Command types and constructors
313
+
* `Tea_Sub.resi` - Subscription types and constructors
314
+
* `Tea_Json.resi` - JSON decoding combinators
315
+
* `Tea_Http.resi` - HTTP request helpers
316
+
* `Tea_Html.resi` - HTML element helpers
317
+
* `Tea_App.resi` - Application functors
318
+
* `Tea_Test.resi` - Testing utilities
319
+
320
+
Only types and functions exposed in these interfaces are part of the public API. Internal implementation details may change between versions, but the public API follows semantic versioning:
0 commit comments