title: Passing data to React component through Laravel blade
body: <p>I don't know if this is even possible or maybe this is just a stupid question, but here it goes:</p>
  
  <p>Is it possible to pass data from you Laravel controller to a React Component through a blade template? </p>
  
  <p>I'm asking this because I have a form where I have three static form elements (<code>name</code>, <code>description</code> &amp; <code>deadline</code>) that are defined in blade and a dynamic part that adds elements (extra fields; <code>name</code>, <code>description</code> and <code>type</code> for each extra <code>field</code>) to the form on a button click.</p>
  
  <p>I also want to use the component for editing, so I need to push data into it. My train of thought was to use React for the dynamic part so that I don't have to use native JS or jQuery to build this. </p>
  
  <p>Note that I'm a beginner at React so I this point I don't even know if I'm doing it right/wrong. I've added a screenshot of the form to show illustrate what I mean. (sorry it's in Dutch but I've tried to add some notes to make it clear)<a href="https://i.stack.imgur.com/SsXSG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SsXSG.png" alt="enter image description here"></a></p>