Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

использование у alienStore (use of alienStore) #43

Closed
aneurysmjs opened this issue Oct 9, 2019 · 1 comment
Closed

использование у alienStore (use of alienStore) #43

aneurysmjs opened this issue Oct 9, 2019 · 1 comment
Assignees

Comments

@aneurysmjs
Copy link
Owner

No description provided.

@aneurysmjs aneurysmjs self-assigned this Oct 9, 2019
aneurysmjs added a commit that referenced this issue Oct 10, 2019
aneurysmjs added a commit that referenced this issue Oct 10, 2019
just add the core functionalities to allow code-splitting for reducers

improves #43
aneurysmjs added a commit that referenced this issue Oct 10, 2019
dynoStore handles Redux's createStore under the hood

BREAKING CHANGE: store now uses dynoStore's

improves #43
aneurysmjs added a commit that referenced this issue Oct 10, 2019
we're not replacing the whole store's reducer when hot reloading, instead we're just letting
dynoStore handle that for us

improves #43
@aneurysmjs
Copy link
Owner Author

так же исправить тесты для всех компонентов которых зависят от store
(also fix tests for all components that depends on store)

@aneurysmjs aneurysmjs pinned this issue Oct 11, 2019
aneurysmjs added a commit that referenced this issue Oct 12, 2019
aneurysmjs added a commit that referenced this issue Oct 12, 2019
use Promise.all to resolve those promises to let exceptions being handle at once and avoid
"UnhandledPromiseRejectionWarning"

improves #43
aneurysmjs added a commit that referenced this issue Oct 12, 2019
file had been snakeCase to dynoStore

improves #43
aneurysmjs added a commit that referenced this issue Oct 16, 2019
now every module from the store will export an object whose values are module's actions, reducers
and selectors

improves #43
@aneurysmjs aneurysmjs changed the title использование у DynoStore (use of DynoStore) использование у alienStore (use of alienStore) Oct 17, 2019
aneurysmjs added a commit that referenced this issue Oct 17, 2019
that name is already been used

BREAKING CHANGE: dynoStore is now alienStore

improves #43
aneurysmjs added a commit that referenced this issue Oct 17, 2019
they're not longer been used since they're i their own module

improves #43
aneurysmjs added a commit that referenced this issue Oct 17, 2019
aneurysmjs added a commit that referenced this issue Oct 17, 2019
import dynamically a Redux module and inject its reducers

improves #43
aneurysmjs added a commit that referenced this issue Oct 21, 2019
aneurysmjs added a commit that referenced this issue Oct 21, 2019
instead of resolving immediately the promise inside of "act()" we render the hook then wait and then
resolve it with "waitForNextUpdate" helper function

improves #43
aneurysmjs added a commit that referenced this issue Oct 21, 2019
allow "useAlienModule" handle errors when the promises gets rejected by using "errorHandler" helper
function which is in charge to throw the exeption

improves #43
aneurysmjs added a commit that referenced this issue Nov 3, 2019
aneurysmjs added a commit that referenced this issue Nov 4, 2019
returns the current register that are registered on the store

improves #43
aneurysmjs added a commit that referenced this issue Nov 4, 2019
removes a reducer by given key that should match on the state in order to get removed, otherwise it
should not remove it and therefore the reducerMap continue intact

improves #43
aneurysmjs added a commit that referenced this issue Dec 2, 2019
catch store's dispatch for internal use, like dispatching and action when injecting a reducer
instead of calling store.dispatch whenever is needed

#43
aneurysmjs added a commit that referenced this issue Jan 7, 2020
aneurysmjs added a commit that referenced this issue Jan 8, 2020
if no id is given when importing a redux module, it'll throw an exception

#43
aneurysmjs added a commit that referenced this issue Jan 11, 2020
this is when the component is unmounting we can perform actions when this happen, like removing the
modules the hook added

#43
aneurysmjs added a commit that referenced this issue Jan 11, 2020
… module

remove unnecessary "id" for Redux modules like the helpers ones and products.module

#43
aneurysmjs added a commit that referenced this issue Jan 13, 2020
… module

this allow register multiple modules is some of then depend of some one

#43
aneurysmjs added a commit that referenced this issue Jan 27, 2020
is not necessary to have two concepts of "module" just with redux modules is enough

#43
aneurysmjs added a commit that referenced this issue Jan 27, 2020
use reduxModule's id as key for the result

#43
aneurysmjs added a commit that referenced this issue Feb 4, 2020
use generic type for selectors property

#43
aneurysmjs added a commit that referenced this issue Feb 4, 2020
aneurysmjs added a commit that referenced this issue Feb 6, 2020
improve Footer's typing and update state with it

#43
aneurysmjs added a commit that referenced this issue Feb 6, 2020
improve type and tests

#43
aneurysmjs added a commit that referenced this issue Feb 10, 2020
remove actionCreator

#43
aneurysmjs added a commit that referenced this issue Feb 10, 2020
utility function that abstracts 'renderHook' test function that is used by 'withAlien'

#43
aneurysmjs added a commit that referenced this issue Feb 10, 2020
this test is skipped in the meantime while I'm figuring out how to test "useDispatch"

#43
@aneurysmjs aneurysmjs unpinned this issue Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant