Preview:
const [feed, setFeed] = useState([]);
useEffect(() => {
    async function fetchData() {
      const response = await fetch(
        "https://www.sciencedaily.com/rss/earth_climate/environmental_issues.xml"
      )
        .then((response) => response.text())
        .then((responseData) => rssParser.parse(responseData))
        .then((rss) => {
          // console.log(rss.items);
          setFeed(rss.items);
        });
    }
    fetchData();
  }, []);
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter