Fork me on GitHub
#fulcro
<
2017-10-18
>
roklenarcic07:10:28

does anyone have any nice fulcro apps on github? mine is starting to look like a forest of keywords 😅

claudiu07:10:20

just finishing my first app, going into production today but it's private repo for work. But haven't ran into issues with stuff like forest of keywords. Can u share some code ?

roklenarcic07:10:35

I'll put it in public repo when I'm done 🙂 I have a lot of components that display the same entity in different ways so I have lots of duplication in queries, initial states etc. Like displaying a user as a badge with name and then displaying him as full info page and then elsewhere displaying it as name and amount of money they have.

roklenarcic07:10:41

It's a small app, but my paid work stops me from progressing swiftly. That and my incompetence 🙂

claudiu08:10:26

@roklenarcic in the same boat. The project that going live is for my company but "outsourced" in my free time since it's for a client and we could not get it into the roadmap. And of course from a 1 page app with google login, turned into noraml+google, 2 levels of admins etc... and the deadline remained the same :))

claudiu08:10:41

Yep, that's the same and probably close to the only issue that I have had so far, left it with multiple components for now. I'm really amazed how easy it is to refactor fulcro apps, had to change a lot of approaches that I did not get right 🙂 After the deadline will also try to find a pattern for that use-case.

roklenarcic17:10:56

when using defsc what is children variable supposed to contain?

fatihict21:10:24

@roklenarcic React children (can be empty)

fatihict21:10:48

It's just a helper which binds children to the result of (om.next/children this). See: https://fulcrologic.github.io/fulcro/guide.html#!/fulcro_devguide.M05_More_Concise_UI

tony.kay21:10:07

Does anyone already have specs and generators written for Om query syntax? I’ve got some built, but am having trouble keeping them from barfing on stack overflows and such during generation

tony.kay21:10:37

perhaps my REPL is just hosed…it is being weird

currentoor21:10:26

I’m having trouble with specs not respecting re-compiles. Has anyone run into issues like that?

tony.kay21:10:50

yeah, I’ve had general problems with them…I guess that’s why they are still alpha

tony.kay21:10:56

but I so want to use them 😕

currentoor21:10:12

yeah i know exactly what you mean…

tony.kay23:10:41

property-based testing sounds so good when someone talks about it…then you try to do it in the real world

tony.kay23:10:58

and it is all stack overflows and failure to generate

tony.kay23:10:14

I’ve pimped the heck out of my specs with manual generators, too