![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
gd-sprest-react
Advanced tools
This library is an extension of the gd-sprest framework. This library provides react components designed to work in SharePoint 2013. The Office Fabric-UI React framework is being used to keep a consistent OTB look and feel, similar to Office 365.
The field component requires the list name and internal field name properties to be set. A query will be made to SharePoint and will render based on its properties.
<Field defaultValue={item.Title} listName={listName} name="Title" />
The item form component requires the list name to be set. By default, the fields will be loaded from the default content type. An optional array of field information can be provided. The field information element allows you to specify:
<ItemForm
item={this.state.item}
listName={this.props.cfg.ListName}
showAttachments={true}
/>
The panel extends the "Panel" component from the Office Fabric React framework, and adds the following methods:
<Panel ref={panel => { this._panel = panel; }} />
// Hide the panel
hidePanel = () => { this._panel.hide(); }
// Show the panel
showPanel = () => { this._panel.show(); }
The people picker component searches the user information list by default, but contains a "Search All" option to search all principal sources.
<SPPeoplePicker allowGroups={this.state.fieldInfo.allowGroups} allowMultiple={this.state.fieldInfo.allowMultiple} fieldValue={this.state.value} />
The webpart component supports webpart and wiki pages. The component will auto detect the page mode (display or edit) and allow you to render a component based on the page state.
Refer to this blog post for a guide to creating webparts in SharePoint 2013. Refer to this GitHub project for examples of the webpart components available in this library.
import { WebPartListCfg } from "gd-sprest-react";
export class WebPartDemo {
constructor() {
new WebPart({
cfgElementId: "wp-demoCfg",
displayElement: DemoWebpart,
editElement: WebPartListCfg,
targetElementId: "wp-demo"
});
}
}
FAQs
SharePoint 2013/Online react components.
We found that gd-sprest-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.