Can we integrate react into EDS project? to have instead of vanilla js react
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @DianaGi,
you can, but it ss not recommended by Adobe as it will negativly impact your performance scores. Adobe recommends to stick with vanilla JS everywhere you can. For selected complex components you might want to look into more lightweight frameworks like Preact. I've described how EDS frontend works in more detail in this article: https://meticulous.digital/blog/f/adobe-edge-delivery-demystified
Hope this helps,
Daniel
Hi @DianaGi,
you can, but it ss not recommended by Adobe as it will negativly impact your performance scores. Adobe recommends to stick with vanilla JS everywhere you can. For selected complex components you might want to look into more lightweight frameworks like Preact. I've described how EDS frontend works in more detail in this article: https://meticulous.digital/blog/f/adobe-edge-delivery-demystified
Hope this helps,
Daniel
Thank you so much for your answer
Can we use a UI framework like Bootstrap or will this also affect the lighthouse?
I guess you can. But UI frameworks usually also usually include some JS, so check what JS dependecies are used and do a Lighhouse test.
Good luck,
Daniel
Thank you, I will try to see how it works
@DianaGi Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies