re-frame

https://github.com/Day8/re-frame/blob/master/docs/README.md https://github.com/Day8/re-frame/blob/master/docs/External-Resources.md
yiorgos 2021-04-15T13:59:35.184300Z

Hi guys, I just started to learn re-frame and I was wondering if it is possibly for re-frame to render html code that I have stored in the database in the view

yiorgos 2021-04-15T14:01:10.185200Z

when I do in the view [:div [show-content]] it shows the raw html as text

p-himik 2021-04-15T14:08:21.185500Z

This is a question about React in general. Re-frame doesn't render anything, and Reagent just delegates rendering to React. https://github.com/reagent-project/reagent/blob/master/doc/FAQ/dangerouslySetInnerHTML.md

yiorgos 2021-04-15T14:11:03.185800Z

Thank you very much! I’ll have a look

yiorgos 2021-04-15T14:16:24.186Z

sweet, it worked!

👍 1