Expand my Community achievements bar.

SOLVED

Can we integrate react into EDS project? to have instead of vanilla js react

Avatar

Level 2

Can we integrate react into EDS project? to have instead of vanilla js react

1 Accepted Solution

Avatar

Correct answer by
Level 9

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

View solution in original post

5 Replies

Avatar

Correct answer by
Level 9

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

Avatar

Level 2

Thank you so much for your answer
Can we use a UI framework like Bootstrap or will this also affect the lighthouse?

Avatar

Level 9

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

Avatar

Administrator

@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!



Kautuk Sahni