SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Avoid static_pointer_cast in GenerateModuleH.js (#44889)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/44889

Avoid static_pointer_cast. It provides no type-safety, and requires increasing the shared_ptr

## Changelog:

[Internal] [Fixed] - Avoid static_pointer_cast in GenerateModuleH.js

Reviewed By: javache

Differential Revision: D58449748

fbshipit-source-id: 4d46b4e18fc28758296a67271182a471a99b5d83
C
Christoph Purrer committed
c5d380fc98ff4417f623effec271d24f9ad6636d
Parent: 20462ca
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 6/12/2024, 5:14:48 PM