What happened to mobx-react/custom for custom renderers #2567
-
Hi all, Wondering if anyone can assist me in attempting to run mobx-react or mobx-react-lite without a react-dom/react-native dependency. It appears that this was once a thing: mobxjs/mobx-react#42 I'm attempting to use mobx-react/mobx-react-lite with a custom renderer: https://github.com/nick-thompson/blueprint I'd like to achieve what the v5 still references this: https://github.com/mobxjs/mobx-react/tree/v5
Any help much appreciated. Limited JS experience so apologies if I've missed anything glaringly obvious! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Using a direct |
Beta Was this translation helpful? Give feedback.
-
Yeah well, we dropped it a long time ago and nobody really asked for it since then. Is it really that bad to have the import as you outlined? If the observer is the only thing you need, you can make yourself an aliasing module that would reexport it so you don't need to have that longer path. |
Beta Was this translation helpful? Give feedback.
Yeah well, we dropped it a long time ago and nobody really asked for it since then. Is it really that bad to have the import as you outlined?
If the observer is the only thing you need, you can make yourself an aliasing module that would reexport it so you don't need to have that longer path.