Fork me on GitHub
#fulcro
<
2021-01-23
>
Alex05:01:39

So I got fulcro RAD demo up and running and going through the UI, it's pretty cool. One thing that I did notice however is that input-forms triggered re-renders for the majority of the other components. What are some best practices when it comes to forms and optimizing renders?

Jakub Holý (HolyJak)07:01:46

You can use transact!! to only refresh the parent component. However Tony discovered that the performance gain is negligible in all but extreme cases I believe. Ie don't care unless you prove performance is an issue

Alex14:01:45

Gotcha, maybe it was slowing down more as I typed because I had the react-tools open that flashes re-renders on the screen. I'll keep that in mind, thank you!

Alex14:01:18

By the way, I saw your first tutorial on Fulcro and it looks great so far. Are you planning to release them in a weekly basis?

Jakub Holý (HolyJak)16:01:04

You mean https://github.com/fulcro-community/guides/blob/minimalist-fulcro-tutorial/minimalist-fulcro-tutorial/index.adoc? Nice to hear! Not, certainly not :-) I do not have any other tutorials planned. It is very time consuming. I'll we happy when I manage to finish this one.

tony.kay23:01:19

> It’s very time consuming Tell me about it 😄

😆 13