Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Fixing and Parsing WordPress Rest Api content in React.
import React, { useState, useEffect } from "react";
import Axios from "axios";
import parse from "html-react-parser";
export default function App() {
// ...
return (
<div className="App">
{post && (
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment