Fork me on GitHub
#re-frame
<
2019-09-20
>
superstructor03:09:52

@lilactown have you tried re-frame-10x ?

lilactown04:09:44

It's installed in the project (new to me) but I'm not sure how it could tell me if e.g. one of my effects was taking a long time

lilactown04:09:10

Ideally I would be able to get a flame graph that included all of my fx/subs/etc.

superstructor04:09:16

It doesn't yet have a flame graph, although I'll take that feedback onboard for future development. It does have the 'Trace' and 'Timing' tabs that will give you all of that information textually.

xfyre12:09:02

I’m looking for a library for HTML form handling (dynamic rendering, validation, all that kind of stuff). - re-com is looking very nice, but does not provide generic form wrappers - so every control has to be manually set up - reagent-forms doesn’t have that issue, but not playing well with re-frame as soon as you need to dynamically update something that is not wrapped (for ex. the list of select options) Any other pointers?

Lu16:09:41

You can use some of the wrappers or write your own very quickly... validation logic is separated from UI and it works well with dynamic updates :).. the lib is battle tested in two prod projects so it’s stable... happy to hear some feedback if you give it a go

shen12:09:13

@xfyre: we ended up rolling our own.

shen12:09:30

re-com is quite well thought out but low level, and styled for their internal app.

shen12:09:00

Haven't seen anything else that deals with the complex cases as well

xfyre12:09:39

thanks. that’s what I actually suspected.

Lu23:09:50

@shen What are you referring to when you say complex cases? 🙂

shen09:09:04

disclosure: it's been a while since I looked at what's around

shen09:09:16

but generally, cases where the component need to do parsing/unparsing (e.g. date formats)

shen09:09:50

I just had a 30s scan of fork. very neat.

Lu09:09:16

Oh I see! I was just curious thanks :) yeah in the case of fork all those values manipulations should happen in your submit handler.. Also thanks for the nice comment about the lib 😊