How do you use react js on excel?
Skip to main content This browser is no longer supported. Show Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Use React to build an Excel task pane add-in
In this articleIn this article, you'll walk through the process of building an Excel task pane add-in using React and the Excel JavaScript API. Prerequisites
Create the add-in projectRun the following command to create an add-in project using the Yeoman generator.
Note When you run the When prompted, provide the following information to create your add-in project.
After you complete the wizard, the generator creates the project and installs supporting Node components. Tip You can ignore the next steps guidance that the Yeoman generator provides after the add-in project's been created. The step-by-step instructions within this article provide all of the guidance you'll need to complete this tutorial. Explore the projectThe add-in project that you've created with the Yeoman generator contains sample code for a basic task pane add-in. If you'd like to explore the key components of your add-in project, open the project in your code editor and review the files listed below. When you're ready to try out your add-in, proceed to the next section.
Try it out
Next stepsCongratulations, you've successfully created an Excel task pane add-in using React! Next, learn more about the capabilities of an Excel add-in and build a more complex add-in by following along with the Excel add-in tutorial. See also
FeedbackSubmit and view feedback for Can you use JavaScript in Excel?An Excel add-in interacts with objects in Excel by using the Office JavaScript API, which includes two JavaScript object models: Excel JavaScript API: Introduced with Office 2016, the Excel JavaScript API provides strongly-typed objects that you can use to access worksheets, ranges, tables, charts, and more.
What is React JS and how do you use it?React. js is an open-source JavaScript library that is used for building user interfaces specifically for single-page applications. It's used for handling the view layer for web and mobile apps. React also allows us to create reusable UI components.
|