Skip to content

Commit 6aa6b5c

Browse files
authored
sentence casing headings
1 parent 91c6bcd commit 6aa6b5c

File tree

1 file changed

+6
-6
lines changed
  • src/connections/sources/catalog/libraries/mobile/react-native

1 file changed

+6
-6
lines changed

src/connections/sources/catalog/libraries/mobile/react-native/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -471,10 +471,10 @@ To set up automatic screen tracking while using [React Native Navigation](https:
471471
});
472472
```
473473
474-
## Plugin Architecture
474+
## Plugin architecture
475475
Segment's plugin architecture lets you modify and augment how the events are processed before they're uploaded to the Segment API. To customize what happens after an event is created, you can create and place various plugins along the processing pipeline that an event goes through. This pipeline is referred to as a timeline.
476476
477-
### Plugin Types
477+
### Plugin types
478478
479479
| Plugin Type | Description |
480480
| ------------- | ------------------------------------------------------------------------------------------------- |
@@ -487,12 +487,12 @@ Segment's plugin architecture lets you modify and augment how the events are pro
487487
> info ""
488488
> Plugins can have their own native code, such as the iOS-only [`IdfaPlugin`](https://github.com/segmentio/analytics-react-native/blob/829fc80bc8c4f59fa99dadd25083efa422d577f0/packages/plugins/plugin-idfa/README.md){:target="_blank"}, or wrap an underlying library, such as the [`FirebasePlugin`](https://www.npmjs.com/package/@segment/analytics-react-native-plugin-firebase){:target="_blank"} which uses `react-native-firebase`.
489489
490-
### Destination Plugins
490+
### Destination plugins
491491
Segment provides a `DestinationPlugin`. You can add additional destination plugins and upload events and data to them.
492492
493493
If you don't want the Segment destination plugin, set `autoAddSegmentDestination = false` in the options when setting up your client. This prevents the `SegmentDestination` plugin from being added automatically.
494494
495-
### Adding Plugins
495+
### Adding plugins
496496
You can add a plugin at any time using `segmentClient.add()`.
497497
498498
```js
@@ -513,7 +513,7 @@ segmentClient.add({ plugin: new IdfaPlugin() });
513513
```
514514
515515
### Writing your own plugins
516-
Plugins implement as ES6 Classes. To get started, familiarize yourself with the available classes in `/packages/core/src/plugin.ts`.
516+
Plugins implement as [ES6 classes](https://www.w3schools.com/react/react_es6_classes.asp){:target="_blank"}. To get started, familiarize yourself with the available classes in `/packages/core/src/plugin.ts`.
517517
518518
The available plugin classes are:
519519
- `Plugin`
@@ -551,7 +551,7 @@ import { Logger } from './logger';
551551
segmentClient.add({ plugin: new Logger() });
552552
```
553553
554-
As the plugin overrides the `execute()`, this `Logger` calls `console.log` for every event going through the timeline.
554+
As the plugin overrides `execute()`, this `Logger` calls `console.log` for every event going through the timeline.
555555
556556
### Add a custom destination plugin
557557

0 commit comments

Comments
 (0)