hey, with `@ory/elements-react` are there any way ...
# general
h
hey, with
@ory/elements-react
are there any way to trigger 3rd party requests ? E.g. i have this:
Copy code
const profileData = (session: Session) => {
    fetch('<http://localhost:8080/users/>' + session.identity?.id, { mode: 'cors' })
      .then((res) => {
        if (!res.ok) {
          throw new Error(`HTTP error, status = ${res.status}`)
        }
        return res.json()
      })
      .then((data) => setProfile({
        profile_picture: data.data.ProfilePicture,
        city: data.data.City,
        country: data.data.Country,
        zipcode: data.data.Zipcode,
        use_gravatar: data.data.UseGravatar
      }))
  }
where the data I get returned on success login for example is being set in my state management. Or is this where Ory Actions/Hooks come in play if i wanna use Elements?