OfficeDev / Office-Addin-TaskPane-React

Template to get start started writing a TaskPane Office Add-in for the React framework using TypeScript
Other
59 stars 34 forks source link

Please provide a function component (hooks) version as well as the class-based approach #72

Closed johnkazer closed 2 years ago

johnkazer commented 3 years ago

Expected behavior

There should ideally be a parallel version based on function rather than class components. Or a link to instructions on how to make the conversion.

Current behavior

I have to convert the examples to function components manually

Steps to Reproduce

N/A

Context

N/A

Failure Logs

N/A

millerds commented 2 years ago

We aren't able to provide numerous variations of template for the variety of different features in the variety of different frameworks. There seems to be a lot of general help on the web for converting from class-based components to functional-based components.

https://www.bing.com/search?q=react+convert+class+to+function