-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
WIP: MobX 5 #1380
Closed
Closed
WIP: MobX 5 #1380
Changes from all commits
Commits
Show all changes
197 commits
Select commit
Hold shift + click to select a range
2f27d32
Cleanup
mweststrate 29c4e1f
Some cleanup
mweststrate ff6640a
Some cleanup
mweststrate ed05d20
More cleanup!
mweststrate 5ea2505
Cleaning up
mweststrate c719720
An initial proxy based array implementation
mweststrate c95ea23
All unit tests pass now
mweststrate 424c006
small stuff
mweststrate dee8d24
Added some TODO's
mweststrate b97dbd7
Restructured, to prepare for proxy based objects
mweststrate e935b52
Proxied objects kinda working
mweststrate 32dfb0e
TODO's
mweststrate 1090a2c
Merge branch 'mobx4'
mweststrate 1bbcac3
Published version 4.0.0
mweststrate ef9ffb9
Removed jsfiddle link
mweststrate 1f04e8b
Fixed flow typings (#1392)
e8b230b
TODOS
mweststrate 7bb3f14
Added something missing from the CHANGELOG
b68df65
Merge pull request #1393 from andrew--r/master
mweststrate 6d8c6af
Merge pull request #1394 from jjinux/changelog-observable-computed-get
mweststrate 6f7dc09
Published version 4.0.1
mweststrate 2dc4f1d
Minor fix for flow typing
9d8a725
Fix typo in the changelog
jdreesen 562030b
Fix some more typos in the changelog
jdreesen 0d73fdd
Added tests to verify that arrays are still spreadable / not concat s…
mweststrate 94a8882
Merge pull request #1400 from jdreesen/patch-1
mweststrate ea47438
Merge pull request #1399 from ismailhabib/master
mweststrate 6e50585
Removed debugger statements
mweststrate 4b44c32
Fixed object initialization issue
mweststrate 266764d
Published version 4.0.2
mweststrate b2a4a9c
Make actions reconfigurable, fixes #1398
mweststrate a78998a
Fixed #1398; `@computed` properties not working in RN components
mweststrate e6363ad
Correct issue nr is #1396
mweststrate 25f2fed
Updated sponsors list
mweststrate 18ad1d9
All observable api's now default to `any` for their generic arguments
mweststrate 037020d
Introduced `keepAlive` option on computed.
mweststrate b7fec6e
Slightly faster observable initialization
mweststrate 5e230c2
Added test demonstrating tuples, see #1391
mweststrate aa2f558
Fixed potentially runaway promise when cancelling the flow generator
mweststrate f1c45e2
Added tests verifying #1413
mweststrate 02c0994
Implemented #1402: run when effect in action
mweststrate 5fb127c
Updated changelog
mweststrate 84d4f0f
Merge pull request #1412 from mobxjs/fix-rn-decorators
mweststrate 3e07bcb
Merge pull request #1407 from mobxjs/make-actions-reconfigurable
mweststrate 7b7d6a7
Merge branch 'master' into random-improvements
mweststrate c9bb570
Merge pull request #1414 from mobxjs/random-improvements
mweststrate 1cd8e7b
Test fixups
mweststrate 8cccd93
Published version 4.1.0
mweststrate 67c1854
docs: fix typo
NoNameProvided cf1eee2
Update README.md
forki d8ff405
Updated sponsors
mweststrate 8d63071
Making a flaky test less flaky
mweststrate b96f623
Attempts 2
mweststrate a834549
doh
mweststrate eb13572
Attempt 3
mweststrate 057df95
sponsor update
mweststrate 39710dc
Added todo
mweststrate c71ee1d
Decorate: Fix in type-checked JS, resolves #1448
nykula 460ada2
Flow-typed: add missing runInAction declaration
AMilassin 052bc55
Merge pull request #1451 from AMilassin/patch-2
mweststrate e9b497f
Merge pull request #1438 from forki/patch-1
mweststrate e2cc3b3
Merge pull request #1430 from NoNameProvided/patch-1
mweststrate 8562e77
Merge pull request #1450 from makepost/master
mweststrate 1f88a64
More proxy tests
mweststrate 8e13259
More tests
mweststrate bee2ac3
Better tests
mweststrate 5855bd3
Implemetnation improvements
mweststrate b0fcdc1
spy: stop listen from handler test
farwayer 647c3d5
spy: fix stop listen from handler
farwayer a380e75
Splitting out dynamic objects from static objects
mweststrate 43779b8
Merge pull request #1460 from farwayer/spy-stop-fix
mweststrate f41dd51
Using the `default` export will no longer throw, but warn instead. Fi…
mweststrate a1a923b
Fixed an error message. Fixes #1418
mweststrate 7ae8796
Updated changelog
mweststrate 5e2a24c
Published version 4.1.1
mweststrate 514802c
Tiny typo in Readme
stigi 9ddc0ec
Merge pull request #1472 from stigi/patch-1
capaj 464d0aa
add missing import of `fail`
mtaran-google f49fcbc
add another missing import of `fail`
mtaran-google 102a2f1
Merge pull request #1482 from mtaran-google/patch-1
mweststrate 6aee5e1
more test notes
mweststrate 7179b96
Merge pull request #1483 from mtaran-google/patch-2
mweststrate e1de210
avoid the unnecessary reassign with the equivalent comparison result
kuitos cff477c
reword the test case description
kuitos a867c00
Fix Flow typing for observable.map
quanganhtran 6f0bb9b
Update MobX 4 observable factories
quanganhtran dbef2ab
Add IObservableDecorator to Flow type
quanganhtran 09493ee
Merge pull request #1501 from quanganhtran/master
mweststrate f6df576
Merge pull request #1499 from kuitos/fork-master
mweststrate 2b00e62
Updated sponsors
mweststrate 3ae4444
More flow typings
mweststrate 394c418
Actions are now configurable again, fixes #1477
mweststrate b21b5e2
Implemented `Symbol.toStringTag` for observable arrays, fixes #1490
mweststrate 52d1541
Undeprecated `ObservableMap`, fixes #1496
mweststrate 8607ec3
Fixed #1480: exception in reaction effects where not handled correctl…
mweststrate b9ab050
Fixed test run issue
mweststrate d17e73c
Introduced `enforceActions: "strict"` mode, fixes #1473
mweststrate dbe4c93
Published version 4.2.0
mweststrate 4ccf47c
Update object api set to write through parent mobx administrator
quanganhtran 8844da2
Fix invariant check for ComputedValue constructor
quanganhtran 8cca76d
Throw error in development when @observable is used on getters
quanganhtran 7d167ef
refactor: replace the memorizer from array to ES6 map in mobx.tojs() &
loatheb 2654cc1
Make `enforceActions` covariant (fixes #1520)
91c2ea4
Merge pull request #1521 from andrew--r/patch-1
mweststrate 10fca42
Merge pull request #1515 from quanganhtran/invariant-fix
mweststrate be5eb38
Merge pull request #1514 from quanganhtran/observe-set
mweststrate 6b50a8c
Merge pull request #1517 from loatheb/refactor-tojs
mweststrate b0ee838
Merge pull request #1511 from quanganhtran/master
mweststrate 88aa33b
Added test verifying #1528
mweststrate 37162c0
Fixed typings of flow, fixes #1527
mweststrate e9152bd
Added test to verify #1524
mweststrate fab6f75
Changed illegal access error to a warning
AmazingTurtle e61e8c9
Updated test for illegal access in observable object
AmazingTurtle 8fb2861
v241
mweststrate 45b4abc
add entries method to observable object api
6ec3907
add specs for the new entries method
d9d8ef4
export entries from mobx.ts
b16b738
Fix typos in README
hectorj 9fdfa8c
Merge pull request #1540 from hectorj/patch-1
mweststrate 09feab1
Simpler proxy object implementation (?)
mweststrate e421854
Merge branch 'master' into mobx5
mweststrate ed0d15c
Fixed issue where set from computed options wasn't picke dup
mweststrate b0371bf
Fixed #1545: actions not reassignable when using typescript
mweststrate 109eaf4
all tests are passing!
mweststrate ac79559
Merge pull request #1529 from AmazingTurtle/patch-1
mweststrate 524045d
Merge pull request #1536 from samjacobclift/entries-method-for-observ…
mweststrate 10572e0
updated sponsors
mweststrate 4b08f12
Improved typings / impl for `entries()`
mweststrate cf38655
Fixed compile / test issues
mweststrate a5f5793
Reproduced and fixed #1535
mweststrate d40b258
Slightly better handling of #1506
mweststrate 5a78e6d
Updated changelog
mweststrate 20aab7c
Published version 4.3.0
mweststrate 79f33ee
Merge branch 'master' into mobx5
mweststrate e7e6e8d
Improvements
mweststrate fcc738f
observable objects have no more map like semantics: listen for the ad…
mweststrate d0184e1
Code cleanup / optimization
mweststrate 098b0c9
Removed all deprecated methods
mweststrate d4f5302
Cleaned up test output
mweststrate 1786bdc
Processed bunch of TODO's
mweststrate 6fcb5ae
$mobx is now a symbol
mweststrate 5d2d9b0
make sure object keys are always strings
mweststrate 2c3d4ee
Use symbols for decorators
mweststrate 75a07e4
Some cleanup
mweststrate cb61e2d
Fixed some compile warnings
mweststrate d631139
Use Sets to store observers collection, reducing memory foodprint and…
mweststrate 12b5c0e
More efficient map implementation
mweststrate 62e006e
Some invariant clean up that wasn't too useful
mweststrate ac9d38f
Observable objects are now backed by maps, slightly more efficient
mweststrate eaab014
Removed `spy` from production builds
mweststrate bfb0f63
Dropped observableArray.peek(), made .slice() implementation faster
mweststrate a4b7354
Some more code cleanup
mweststrate 047f168
Fixed some compile errors
mweststrate b263c43
beta1
mweststrate cdc8fd9
Fine tuning proxies, more tests
mweststrate bb19bc1
Oops, slice was broken..
mweststrate 778a587
Optimized array built-ins
mweststrate 7c96b62
MobX now ships as ES6 package
mweststrate ca1adb5
cleanup inheritance workaround
mweststrate 5a43e56
WIP
mweststrate 1ca32f5
WIP
mweststrate e7f32aa
To single module import
mweststrate 86b500d
fixed some circular issue problems
mweststrate 4bc864d
Merge branch 'uncircular' into mobx5
mweststrate 3d35567
Fixed build issue
mweststrate bfbe0c2
@computed({keepAlive: true}) no long calculates before being accessed
hector c572d10
adds Browser support section to the main readme
capaj a5dee3a
Remove redundant code
fecqs b1d8b97
Fixed potential issue in untracked
mweststrate e9d8760
fixed travis issue
mweststrate e794a2c
More tests, better changelog, added `in` trap
mweststrate 7098bd2
Merge pull request #1564 from JSlife23/master
mweststrate 841e586
Tests to verify #1567
mweststrate 68084ad
Jest does not place nice with toEqual and symbols
mweststrate faf4bb8
Some additional tests to verify interaction with jest
mweststrate de76c56
Added MobX 5 forward compatibility
mweststrate b54e03b
Published version 4.3.1
mweststrate 1be3976
Merge pull request #1562 from mobxjs/capaj-readme-patch-1
mweststrate 495a45b
Merge branch 'master' into compued-keepAlive
mweststrate 4f6ec32
Merge pull request #1560 from hector/compued-keepAlive
mweststrate 1547199
Upgraded to TypeScript 2.9
mweststrate b5e60e7
Processed some review comments
mweststrate 41c124b
fix typo in readme
capaj e66b1ad
bug: allow changing while observable array initialization
kuitos c405059
Notes about Jest in the changelog
mweststrate b3a43b3
Downgraded node version for travis
mweststrate 37d6abc
Somehow travis keeps using uglifyjs instead of uglify-es
mweststrate 445f7c0
'Fixed test
mweststrate a27b849
Using `observableArray.reverse` or `sort` now prints a warning about …
mweststrate b05c2df
Make sure `action.bound` uses the proxy as `this` if available
mweststrate c53f8be
Improved changelog
mweststrate 9aace8f
Fixed computed values not receiving proxy as this
mweststrate f695dae
Better reuse, small optimizations
mweststrate 405a025
Merge pull request #1573 from kuitos/master
mweststrate e10dbda
Merge remote-tracking branch 'origin/master' into mobx5
mweststrate 5b8ba54
fixed peformance test
mweststrate e17c478
Improved changelog & readme
mweststrate File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated