Skip to content

Commit

Permalink
update what are components (#30942)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 863671b3addeda007f8dcdc2a5cdecab4e9b9a05
  • Loading branch information
ianmacartney authored and Convex, Inc. committed Oct 22, 2024
1 parent 8bf4f14 commit 29e303d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions docs/components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,11 @@ Components allow you to reason about API boundaries and abstractions.
components to reason locally about data changes.
- Components expose an explicit API, not direct database table access. Data
invariants can be enforced in code, within the abstraction boundary. For
example, the
[aggregate component](https://www.npmjs.com/package/@convex-dev/aggregate) can
internally denormalize data, the
[rate limiter](https://www.npmjs.com/package/@convex-dev/ratelimiter)
component can shard its data, and the
[push notification](https://www.npmjs.com/package/@convex-dev/expo-push-notifications)
example, the [aggregate component](https://convex.dev/components/aggregate)
can internally denormalize data, the
[rate limiter](https://convex.dev/components/rate-limiter) component can shard
its data, and the
[push notification](https://convex.dev/components/push-notifications)
component can internally batch API requests, while maintaining simple
interfaces.
- Runtime validation ensures all data that cross a component boundary are
Expand Down
2 changes: 1 addition & 1 deletion docs/home.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Read the team's Perspectives on [Stack](https://stack.convex.dev):

]} />

See more walkthroughs and patterns [Stack](https://stack.convex.dev)
See more walkthroughs and patterns on [Stack](https://stack.convex.dev)

<DocCardList
items={[
Expand Down

0 comments on commit 29e303d

Please sign in to comment.