Mark Erikson
Member since Dec 11, 2017
- Profile: /members/13674-mark-erikson.htm
- URL: https://blog.isquaredsoftware.com
- Comments: 6
Recent Blog Comments By Mark Erikson
-
Webpack 4 Automatically Makes process.env.NODE_ENV Available In Your JavaScript
Posted on Apr 9, 2019 at 4:04 PM
I wrote a post a couple years ago that answers those questions: Building Better Bundles: Why process.env.NODE_ENV Matters for Optimized Builds... read more »
-
I Am Struggling To Understand The Atomic Boundaries Of Redux Actions
Posted on Oct 30, 2018 at 11:41 AM
If you really want to go back to basics, there's the "Three Principles" listed in the docs: Single source of truth State is read-only All changes are decided by pure functions To some extent, everything else on top of that is convention (which is part of what my posts ... read more »
-
I Am Struggling To Understand The Atomic Boundaries Of Redux Actions
Posted on Oct 30, 2018 at 10:57 AM
Hi, Ben. We've chatted a couple times on Twitter before. I know you use your blog as a form of exploratory thinking, and that's great. That said, you really ought to spend some time reading through the "Idiomatic Redux" and "Practical Redux" series on my blog :) I th... read more »
-
Providing Services As Both A Multi-Collection And As An Individual Injectable In Angular 5.1.0
Posted on Dec 13, 2017 at 10:36 AM
I haven't had to deal with that situation myself, but I can see a few different ways to approach it. One would be, as you said, to have separate actions distinguishing between "stuff done by the local client" and "stuff done by someone else that we're getting notified about". A... read more »
-
Providing Services As Both A Multi-Collection And As An Individual Injectable In Angular 5.1.0
Posted on Dec 12, 2017 at 10:52 AM
Yeah, I've noted that there seems to be a split in how people view app architecture: "component-centric" and "app-centric". The way I would think about it is that if some data _truly_ only belongs to a certain view, then it _probably_ doesn't belong in the store. However, if... read more »
-
Providing Services As Both A Multi-Collection And As An Individual Injectable In Angular 5.1.0
Posted on Dec 11, 2017 at 8:42 PM
I'm not sure I see how this relates to use of Redux. Can you clarify the connection? Also, your comment about "functions being consumed by functions" confuses me a bit. Are you talking about reducers, or something else?... read more »