Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
react-datocms
Advanced tools
![MIT](https://img.shields.io/npm/l/react-datocms?style=for-the-badge) ![MIT](https://img.shields.io/npm/v/react-datocms?style=for-the-badge) [![Build Status](https://img.shields.io/travis/datocms/react-datocms?style=for-the-badge)](https://travis-ci.org/
A set of components and utilities to work faster with DatoCMS in React environments. Integrates seamlessy with DatoCMS's GraphQL Content Delivery API and Real-time Updates API.
npm install react-datocms
This package offers different components and hooks. Please refer to one of the following pages to learn more about a specific area of interest:
<Image />
component for responsive/progressive images<StructuredText />
componentuseQuerySubscription()
hook for live, real-time updates of contentuseSiteSearch()
hook to render a DatoCMS Site Search form widgetrenderMetaTags()
and other helpers to render social share, SEO and Favicon meta tagsFor fully working examples take a look at our examples directory.
Live demo: https://react-datocms-example.netlify.com/
This repository contains a number of demos/examples. You can use them to locally test your changes to the package with npm link
:
npm link
cd examples/images-and-seo/vanilla-react
npm link react-datocms
npm run start
Now on another terminal you can run:
npm run watch
This will re-compile the package everytime you make a change, and the example project will pick those changes instantly.
FAQs
<!--datocms-autoinclude-header start-->
The npm package react-datocms receives a total of 9,968 weekly downloads. As such, react-datocms popularity was classified as popular.
We found that react-datocms demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers 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
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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.