<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [ReferenceCountedStrategy](./rc-js-util.referencecountedstrategy.md)

## ReferenceCountedStrategy class

The recommended lifecycle strategy. This strategy only adds debug checks for leaking objects; you must unlink objects from their owners once they are finished with them.

**Signature:**

```typescript
export declare class ReferenceCountedStrategy implements ILifecycleStrategy 
```
**Implements:** [ILifecycleStrategy](./rc-js-util.ilifecyclestrategy.md)

## Methods

<table><thead><tr><th>

Method


</th><th>

Modifiers


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[createNode(owner)](./rc-js-util.referencecountedstrategy.createnode.md)


</td><td>


</td><td>


</td></tr>
<tr><td>

[onManagedObjectCreated(object)](./rc-js-util.referencecountedstrategy.onmanagedobjectcreated.md)


</td><td>


</td><td>


</td></tr>
<tr><td>

[onSharedPointerCreated(sharedPtr, metadata, protectedView)](./rc-js-util.referencecountedstrategy.onsharedpointercreated.md)


</td><td>


</td><td>


</td></tr>
</tbody></table>
