Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
  __tests__
  dist
  src
  __tests__
  dist
  src
  Makefile
  README.md
  jest.config.js
  package.json
  tsconfig.json
  tslint.json
Size: Mime:
  README.md

OneRouter

Breaking Changes

3.0.0

  • must change react-router-config import

3.0.1 (1.2.14 because mono)

  • changed package.json

3.0.1 (1.2.16 because mono)

  • fix minor typings & typo on .debug

3.0.2 (1.2.17 because mono)

7d75c90a0bdf1ad24105a7dc2988a24059fdb729
  • remove old index typings
  • types on config
  • types on props & state
  • types for props as any
  • minor unused removed
  • fix private class scope
  • export types

3.0.3 (1.2.18 because mono)

  • OneRouterStoreType
  • .observable property moved from reference-store
  • setUrl + url + prevUrl
  • basic test for ^

3.0.4 (1.2.19 because mono)

  • typo on ReadOnly => Readonly

3.0.5 (1.2.20 because mono)

  • add setTapEntries
  • test for setTapEntries

3.0.6 (1.2.21 because mono)

  • log updates

4.0.0

  • drop monorepo version
  • 1dep (unify dependency updates)

4.1.0

  • remove pretty stringify
  • clean up some typings
  • move unused functions and files
  • fix logging
  • remove unused methods & comments
  • add perf todos
  • toJSON for snapshots
  • a couple snapshot tests

5.0.0

  • optimize hasProtocol
  • change dependencies from latest to exact so they do not create warnings on pkgs depending on it
  • add shallowStore for storing non observables
  • use setAsDirty action to mark as dirty
  • subscribe to router.history changes and log if there is one
  • handleRouteChange for ^
  • getSearchParams using EMPTY_OBJ as default
  • prettier log formatting (missing closing ))

Learn More

outdated


/**
 * @deprecated
 *
 * @api https://mobx.js.org/refguide/reaction.html
 * @todo could use ^ probably better perf, easy to swap  out  later
 *
 * // this was not clear, did not work
 * @api  https://mobx.js.org/refguide/autorun.html
 * Just like the @observer decorator/function,
 * autorun will only observe data
 * that is used during the execution of the provided function.
 *
 * @note we could used boxed values but the docs say
 * > since MobX tracks changes to boxes automatically,
 *   in most cases it is better to use a reaction
 *   like mobx.autorun instead.
 */
// autorun(subscriber, this)