Starting in Visual Studio 2022, you can alternatively create a React project using the new CLI-based project type .
Read moreCan I use C with React Native?
React native lets you write your own native code, and then call it on your js file . You are going to have to write Java to call the C library, and create a native module based on that java, and use the first link to integrate with your js file.
Read more