Skip to content

How does observer HoC work? #3366

Answered by kubk
inf3rnus asked this question in Q&A
Apr 13, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi, I've created an article that describes how to build an oversimplified version of Mobx: https://teletype.in/@alteregor/mobx-50-loc
There is a codesandbox in the end of the article.
So Mobx doesn't use any low level React API. Proxy is used to modify observables without explicitly calling setters & getters (in the article they're used).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@inf3rnus
Comment options

Answer selected by kubk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants