Fork me on GitHub

@scknkkrer you asked a vague, poor quality question, got no answer and then lashed out with some snark. That comes off as "entitled". Note: people are getting their questions answered (by volunteers) in here ALL THE TIME. But yours wasn't. Think about that. What does it tell you? Perhaps you should be asking yourself what it was about your question that caused it to not be answered? I feel like you might benefit from reading this "classic", regarded by many as the the gold standard in advice on the subject of asking technical questions:


Just want to take the opportunity to thank those volunteers (yourself in particular, you’re very active here!) for answering all of the questions I’ve answered so far 🍻


Thank you to all the volunteers! 🍻


That's a nice detailed guide, saved for future reference 👍


------------- @profgra I try to never have data in a component local state. I always try to put all state in app-db, perhaps via :on-blur (rather than :on-change) where possible.


The moment we have state in two places, you have to synchronize it. Now, we can certainly find ways to do that. But (as you suggest) my advice is to avoid needing to do it whereever possible.


@sandbags yeah, re-com uses Bootstrap for largely historical reasons. But hard now to evolve that forward. The criticisms about its lack of "ambient classes" is very valid (in effect, every div should have a class on it which you, the users of the library, can provide a style for, perhaps via Garden?)


FWIW I'm using a version of that I've recreated in Sass on my project, have been for a year. My CSS is 10k and I rarely touch it.


This is different from inline styles in some important but subtle ways that are difficult to understand without actually working in this style of CSS


but that's besides the point; I feel like the main problem people are trying to solve with overrideable/customizeable css is to somehow separate structure from appearance


that is, position/float/flexbox vs color and font-size, and the gray area of things like border-widths and the box model in between


That said, I'm working on a library targeting Garden 2.0 to make making customizeable tachyons-style rule sets easy


We were very influenced by the idea of using in-line syles when we wrote it. That seemed like a very good idea at the time. We're slightly older and wiser now. We still want our CSS to be colocated with the components (and not off in a remote CSS file, if possible), but these days, if we were doing it again, we'd probably do it with Garden.


Anyways ... we're working with what we have


@mikethompson no good decision goes unpunished 🙂


I guess so, but I've really only seen these "constants" / "enums" used in redux code bases.


Ok, my fault. How do you guys navigation on react native application with re-natal: re-frame + reagent ?


I haven’t seen any documentation. Maybe I am blind. Maybe idiot. Forgive me.


Hey @scknkkrer it's tricky as there's not that many examples about. seems to be one of the most promising options, although there's a library from wix too. I've been using library with reframe thanks to @seantempesta 's library He's helpfully put together specs for all of the router / screens etc which helps understanding what you have to provide all of the components with.


There's not much documentation about because there's not many people doing it I think!


I am a quick-learner, but I am not quite understand how navigation works properly.


I get some points, navigation tools are components too. And we use it for nesting.


yeah I don't really 100% understand what's going on either, it's quite hard to follow, with all this getStateForAction stuff.


I am so idiot. I can’t picture it my mind completely. Sorry for this.


The reframe approach is close to the redux approach. Trouble is that's an "advanced" topic in the reactnavigation docs.


you'll store the routing in the db, and then dispatch navigation actions


If I were you I'd clone sean's library above and have a play with it there's a reframe example in the repo


that's what finally got me going


OMG. This example is really understandable.


Sorry for my silly question. Thank you @danieleneal.