Learn how to wrap a vanilla JavaScript package for use in React, using the example of ag-Grid. Understand the purpose of creating a framework-specific wrapper, the difference between using ag-Grid as a vanilla JavaScript widget and as a React component, and how to configure a React specific datagrid wrapper.
Table of contents
PrerequisitesStep 1 — Understanding the JavaScript WidgetStep 2 — Determining What a Wrapper Component Should DoStep 3 — Implementing a React WrapperStep 4 — Synchronizing Grid Properties UpdatesStep 5 — Exposing the APIConclusion1 Comment
Sort: