title: How to get SharePoint taxonomy terms in SPFx react project using @pnp/sp?
body: <p>I have created the SPfx project with React. I have used @pnp/sp&quot;: &quot;^2.11.0 for interaction with SharePoint. I can successfully get data from the SharePoint lists and Libraries. Now, I need to get SharePoint taxonomy terms and it's the parent term of that term.</p>
  <p>Term Set</p>
  <ul>
  <li><p>Parent Term 1</p>
  <ul>
  <li><p>Parent Term 1 Child Term 1</p>
  </li>
  <li><p>Parent Term 1 Child Term 2</p>
  </li>
  </ul>
  </li>
  <li><p>Parent Term 2</p>
  <ul>
  <li><p>Parent Term 2 Child Term 1</p>
  </li>
  <li><p>Parent Term 2 Child Term 2</p>
  </li>
  </ul>
  </li>
  </ul>
  <p>I will need all terms as above. Can anyone help me with the same?</p>