Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrpospiech committed May 3, 2024
1 parent 36f087c commit 8ca2100
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/api-bridges.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ Currently available bridges:
- `GraphQLBridge` in `uniforms-bridge-graphql` ([schema documentation](https://graphql.org/))
- `JSONSchemaBridge` in `uniforms-bridge-json-schema` ([schema documentation](https://json-schema.org/))
- `SimpleSchema2Bridge` in `uniforms-bridge-simple-schema-2` ([schema documentation](https://github.com/longshotlabs/simpl-schema#readme))
- `SimpleSchemaBridge` in `uniforms-bridge-simple-schema` ([schema documentation](https://github.com/Meteor-Community-Packages/meteor-simple-schema/blob/master/DOCS.md))
- `ZodBridge` in `uniforms-bridge-zod` ([schema documentation](https://zod.dev/))

Deprecated bridges:

- `SimpleSchemaBridge` in `uniforms-bridge-simple-schema` ([schema documentation](https://github.com/Meteor-Community-Packages/meteor-simple-schema/blob/master/DOCS.md))

If you see a lot of [`Warning: Unknown props...`](https://fb.me/react-unknown-prop) logs, check if your schema or theme doesn't provide extra props. If so, consider [registering it with `filterDOMProps`](/docs/api-helpers#filterdomprops).

## `GraphQLBridge`
Expand Down Expand Up @@ -228,6 +231,12 @@ const bridge = new SimpleSchema2Bridge({ schema });

## `SimpleSchemaBridge`

:::caution

SimpleSchemaBridge is deprecated since uniforms v4.

:::

```tsx
import SimpleSchemaBridge from 'uniforms-bridge-simple-schema';
import { SimpleSchema } from 'aldeed:simple-schema';
Expand Down

0 comments on commit 8ca2100

Please sign in to comment.