question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v1.0.0 change too much

See original GitHub issue

i use something like this,

handleActions({}, {})

but when i update to v1.0.0, it die.

and i use redux-api-middleware, create actions like

{
  [CALL_API]: {
    type: [xxx]
  }
}

but when i update to v1.0.0, it die.

@acdlite i think you can find a more smoothly way to update, not like this.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
timchecommented, Nov 22, 2016

What exactly trying to achieve with export const shared = handleActions({}, {})? The function signature is handleAction(type, reducer | reducerMap = Identity, defaultState). The default state is missing and is required in Redux.

0reactions
geminiyellowcommented, Nov 22, 2016

ok, i can use

const shared = state => state

i just want to tell you 0.13 can use

const shared = handleActions({}, {})

but v1.0.0 cannot.

hmm, this is a feature, not bug.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changes in v1.0.0 · Issue #266 · mscdex/busboy - GitHub
I'm not sure I understand why an http client is implementing form decoding. Anyway, if the multipart/form-data parser was based on one from...
Read more >
Major Changes Coming to My Colony v1.0.0 - Ape Apps
Simply put, after v1. 0.0, colonists will not travel more than 50 tiles distance from their home to get to work. There isn't...
Read more >
Migrating to v1.0.0 - ESLint - Pluggable JavaScript Linter
0.0 is that all rules are off by default. We made this change after numerous requests to allow turning off the default rules...
Read more >
Changes from COINr v1.0.0
If this level of upheaval is all a bit too much, and you'd like to go back to how things were before, you...
Read more >
Obsidian Release v1.0.0 : r/ObsidianMD - Reddit
1.0 brings a complete redesign to desktop and mobile. It's not only nicer to look at, but also much easier to use and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found