This is a sample React app that demonstrates how TypeShim extends .NET <> Javascript interop with:
All data on this screen is accessed through interop calls to the dotnet runtime. Getting the array of people, getting a Person's name,
getting their (optional) Pet or getting the Pet's name, these are all examples of interop calls.
+
+ Try clicking the buttons and pet chips to see state being manipulated in .NET.
There are ~1500 interop calls to methods on about 400 dotnet object instances made to render this page. - The impact of this many calls is not noticable (credits to the dotnet/runtime team!), try using your browser's devtools to profile the app. + The impact of this many calls is not noticable (credits to the dotnet/runtime team!).
{view === 'list' ? (
-