3 ms·
I used Redux in a major project, and really appreciated using a fairly standardized framework that translates between projects with support including Redux DevT
by davidy123 8y ago
I used Redux in a major project, and really appreciated using a fairly standardized framework that translates between projects with support including Redux DevTools. However, all the boilerplate was a big drawback. There are scattered solutions, but adopting one takes away from the mainstream appeal of Redux. Is there any hope of a standard way to "reduce" some of the boilerplate?
- acemarke 8y agoYes, absolutely! Per my other comment in this thread [0], please check out our `redux-starter-kit` package [1]. I'd appreciate any feedback on whether or not it helps you, and what other capabilities would be beneficial to include. Lots of people throw around the word "boilerplate", but everyone seems to mean something different by it [2]. Can you clarify what _specific_ things you mean by that? [0] https://news.ycombinator.com/item?id=18605421 https://news.ycombinator.com/item?id=18605421 [1] https://github.com/reduxjs/redux-starter-kit https://github.com/reduxjs/redux-starter-kit [2] https://github.com/reduxjs/redux/issues/2295 https://github.com/reduxjs/redux/issues/2295
- davidy123 8y agoredux-start-kit looks great. It's been over a year since I've bootstrapped a redux project, but I'd definitely use it next time. One area that I always felt "there has to be a better way" was defining action names. Typing the same thing twice, as insignificant as it is in the grand scheme. I saw a few libraries that had answers for this, but none were "standard." Well outside the scope, but it would be nice to easily use action names as navigators via an editor extension. Rekit is doing some really interesting work to use Redux as the way to access an application.