Skip to content

TypeScript code snippet – How to send data between components in react with redirect?

<Redirect
  to={{
    pathname: "/page",
    state: data // your data array of objects
  }}
>
See also  Python code snippet - How to refer to all columns in pandas?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.