Closed Pabl0cks closed 2 months ago
Updated the FAQ with a proposal of Questions and Answers, feel free to remove/add or tweak! 🙏
Closes #41
Technical note:
Since I added some links and line breaks, I had to use this to make it parse the HTML in order to avoid adding an external library:
<p dangerouslySetInnerHTML={{ __html: item.answer }}></p>
Sounds really bad so I bet it's not a good practice, wondering what would be the best approach in this case.
Maybe it's better to just hardcode all the question and answers in html?
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Updated the FAQ with a proposal of Questions and Answers, feel free to remove/add or tweak! 🙏
Closes #41
Technical note:
Since I added some links and line breaks, I had to use this to make it parse the HTML in order to avoid adding an external library:
<p dangerouslySetInnerHTML={{ __html: item.answer }}></p>
Sounds really bad so I bet it's not a good practice, wondering what would be the best approach in this case.
Maybe it's better to just hardcode all the question and answers in html?