Incorporate IRC feedback for documentation
See original GitHub issueFeels like we should improve the narrative, and work on the “why” behind the concepts. Probably related to #198. Full log:
03:23:38 <substack> is there a good pattern for populating state in models
with initial data from a db that is async?
03:24:10 <substack> the part I don't see exactly is how to trigger the
initial effect
03:24:38 <yoshuawuyts> substack: if it's a one-off and doesn't respond to any
external factors you could create a subscription that then calls a reducer to
update the full state
03:25:29 <yoshuawuyts> generally subscriptions seem to work well for
bootstrappy things
03:25:48 <substack> ok I will try it, but seems complicated
03:25:57 <substack> there isn't something like app.send()?
03:26:39 <yoshuawuyts> we've talked about it, but providing app.send() would
enable an escape hatch outside of the model `choo` enforces
03:27:53 <yoshuawuyts> I know `choo` is super frameworky but that's by
design so that in a team setting the architecture is confined to what `choo`
has laid out, even though it might create a bit of friction
03:29:20 <substack> ok it seems that subscriptions will work for what I need,
looking at it more
03:29:41 <substack> kind of hard to follow the docs in the choo readme
03:30:50 <yoshuawuyts> substack: does this graph help?
https://github.com/yoshuawuyts/choo/pull/198/files
03:31:26 <yoshuawuyts> svg version
https://gist.github.com/yoshuawuyts/62305bfb8804a9e124818cb3061609a4
03:31:30 <substack> I think that makes it worse
03:32:38 <yoshuawuyts> Ah, that's unfortunate will need to find a way to
better convey the model then
03:32:50 <yoshuawuyts> any suggestions would be heaps welcome
03:32:55 <substack> I think the readme should include more examples and talk
less about the architecture
03:33:33 <substack> and have sub-sections for each sub-component of the view,
model, and router sections
03:34:26 <substack> for example a heading of # model that introduces what a
model is for by example and subheadings ## model effects, ## model state that
discuss each property in isolation
03:35:32 <yoshuawuyts> Yes, that seems like a sound suggestion
03:35:37 <substack> and I haven't found the examples in example/ to be very
helpful
03:36:22 <substack> because for me the main question I have about how all of
this fits together is "why?" not "how"
03:36:31 <substack> a flow-chart answers "how" but not "why"
03:38:34 <yoshuawuyts> yeah, you're right it's about a paragraph per
concept max at the moment mostly focused on implementation, with an extra
API section for even more implementation
03:38:47 <yoshuawuyts> hmmm should def expand this
03:39:20 <yoshuawuyts> used to have "common actions" in there, but took it
out (and forgot to put it in the handbook)
03:39:33 <substack> I also feel like there is not much flow between the
topics, no narrative structure
03:39:33 <yoshuawuyts> alright, more "why" got it
03:39:58 <substack> which for this kind of project may be useful in conveying
the concepts better
03:40:26 <substack> I'm also not necessarily suggesting the readme should be
longer, but organized differently
03:42:46 <yoshuawuyts> hmmm, so what I'm thinking right now is to hook into
the philosophy secion
03:42:49 <yoshuawuyts> *section
03:43:19 <yoshuawuyts> move from "why the framework" to "why these high level
concepts" to "why the concepts inside the model"
03:43:36 <yoshuawuyts> where I feel the concepts inside the model are
probably the hardest to understand, so would need most attention
03:44:24 <yoshuawuyts> you're right in pointing this out. Subscriptions only
has a two-sentence description
03:44:28 <yoshuawuyts> that's not good enough
03:45:03 <yoshuawuyts> substack: thanks for the feedback!
03:45:33 <yoshuawuyts> I'm going to create an issue for this before I tap out
tonight
Any help in pointing out concepts which were hard to understand / better phrasing / rewrites of sections would be heaps welcome. Thanks! ✨
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Tool 1: Selecting and Designing Feedback Channels
Tool 2. 42. Feedback Registry. Provides a template to document and manage individual pieces of feedback from the time it is received to...
Read more >Transfer Pricing Documentation Best Practices Frequently ...
Q 5 What are some features of the most useful transfer pricing documentation reports? A 5 Notwithstanding that IRC § 6662(e) penalty protection...
Read more >united states of america - California ISO
Reliability Council of Texas, Inc. (“ERCOT”); the Independent Electricity ... The IRC members, through the IRC Standards Review Committee, ...
Read more >Walking the talk: a participatory review of the IRC's feedback ...
Participation of and accountability towards all people we serve – our clients – is central to the International Rescue Committee (IRC)'s ...
Read more >Agency Protocol Manual | OPWDD - NY.gov
The Agency Review is intended to verify that agencies have ... IRC minutes include all of the required information regarding Reportable.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MattMcFarland I hear you. What I’m thinking is making the README more accessible by providing more narrative around the architecture so that people get a deeper conceptual understanding; especially coupled with good examples that would be grand I think
@YerkoPalma hah yeah the site def needs updating (help welcome!). I bought choo.io the other day, so we could place it in a better location. Would be heaps cool to give the docs their own special place on there; possibly “ecosystem” too in the form of the “awesome” list. You reckon? ✨
More from IRC: