function App() {                       

  return (
    <ComponentA />
  )
}

function ComponentA() {
  return (
    ...
    <ComponentB />
    ...
  )
}

App

ComponentA

ComponentB

Image of Alex Sidorenko

Alex Sidorenko

@asidorenko_

Twitter icon