How to save path data in a variable in react

Hello,

In which types of data in react , I can save image paths.
Assume you want to show your images from the server in grid view. Which field I should consider these paths:


export class FetchData extends Component {
  static displayName = FetchData.name;

  constructor(props) {
    super(props);
    this.state = { forecasts: [], loading: true };
  }

thanks

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.