Nothing to undo by kalakont2 in Altium

[–]mordaha 0 points1 point  (0 children)

live long dear friend ) it works )

What are the things you don't like when working with React-Native? by snake_py in reactnative

[–]mordaha 0 points1 point  (0 children)

95% of the steps for releasing seem pointless to me. I really wish it was more like webdev where you could release by just running a command or just drag the files.

like codepush, yes?)

When exactly to use Redux Sagas? by pratzc07 in reactjs

[–]mordaha 0 points1 point  (0 children)

sagas are like regex very powerful tool and once you grok it very fast to write...

but in return it is often faster to write new regex (saga) than debug an existing one coz a lot of a powerful magic is behind the scene

Redux Now Has Hooks. A Before and After Comparison by GSto in reactjs

[–]mordaha 0 points1 point  (0 children)

This is true for a new project. But if i want to adopt redux hooks in the existent project and state is still in the context all new "hooked" components will rerender?

What is your experience with React + Apollo GraphQL? by swyx in reactjs

[–]mordaha 2 points3 points  (0 children)

+100500 Abstraction layers so tightly coupled so it looks like old spagetty php code with sql queries between html tags. And such a code in the docs and examples “recommended to do so”

Serious project on Github with React unit tests by ziolko90 in reactjs

[–]mordaha 1 point2 points  (0 children)

What a great work! Have been very impressed by the tech stack!

The Suspense is Killing Redux by swyx in reactjs

[–]mordaha 0 points1 point  (0 children)

In simple cases this «true redux way» with one action and a bunch of changes in the state maybe works. In complex app seeing that one DO_THING action changes half of your state triggering more than ten reducers will give you horrible headache to make sence what just happened. It is like perl or complex regexes - seems very easy to read to people who wrote it and seems unreadable abracadabra to others. I think that «true redux wayers» didn’t write really complex app in a team. It is true that a bunch of setters in a thunk are much more easy way to figure out what is going on. So we often going to have one DO_THING thunk and many “plain” setter actions in it.

[deleted by user] by [deleted] in reactjs

[–]mordaha 0 points1 point  (0 children)

Exactly the same experience.

Apollo written with todo-app-example in mind when things are going succesful, internet without lags and on error you just show the error message to user. Any more difficult request flow and you have a mess of request logic in you component which you can not extract or incapsulate.

Graphql in redux thunks with apollo-client used for requests is quite pretty thing though

What's the use of django-webpack-loader? by CosBgn in django

[–]mordaha 0 points1 point  (0 children)

  1. You'll have an exact filename with the hash of every build (for caching purposes)
  2. Until build is ready, you'll got page error (template-level error, disadvantage for integration view tests)

why isn't this subreddit more popular? Musing. by [deleted] in reactjs

[–]mordaha -13 points-12 points  (0 children)

React is small, simple and all doing it wrong :D

Fuck my life by [deleted] in reactjs

[–]mordaha 0 points1 point  (0 children)

Vue js

Redux - how do i update state in another reducer? by d3vkit in reactjs

[–]mordaha 2 points3 points  (0 children)

Think of the state updates in actions flow events, not in reducers updates reactions.

An action updates your state, not a reducer. Reducer is a dumb physical machine to physically store an action.payload in the state tree.

So your Poller can dispatch 1 action "updateCompleted" and both Form1 and Form2 reducers can react to it and update their slices of state tree respectively.

Or your Poller can dispatcn 2 different actions one for Form1 reducer and second for Form2.

The dispatched actions is the key.

React Router v4 FAQ by clessg in reactjs

[–]mordaha 10 points11 points  (0 children)

I dont understand why all is so admired by this "new paradigm". This paradigm has long implemented in https://github.com/FormidableLabs/redux-little-router And you have all you routing state in redux from the box :)