Coder Social home page Coder Social logo

🖥 🔧 React + Mobx about realworld HOT 22 CLOSED

gothinkster avatar gothinkster commented on April 29, 2024 2
🖥 🔧 React + Mobx

from realworld.

Comments (22)

andykog avatar andykog commented on April 29, 2024 4

Done, see hodorswit/react-mobx-realworld-example-app
Replaced redux with mobx, added/modified a few components here and there. Used singletone stores for simplicity.

from realworld.

andykog avatar andykog commented on April 29, 2024 2

I love the idea, will try to allocate some time tomorrow

from realworld.

srolel avatar srolel commented on April 29, 2024 2

@benjamingr @hodorswit I'll see if I have time to take a jab at it this weekend. And no, @mweststrate, sadly we did not meet :P

from realworld.

mweststrate avatar mweststrate commented on April 29, 2024 2

@EricSimons will try to check later today / tomorrow

from realworld.

EricSimons avatar EricSimons commented on April 29, 2024 1

@hodorswit I think your approach is perfect — no need to reinvent the React parts of the app :)

Regarding finding someone w/ more experience, @mweststrate do you know of anyone? Or perhaps someone that could provide advice to @hodorswit as he builds it out?

from realworld.

robbiedhickey avatar robbiedhickey commented on April 29, 2024 1

Just added @mosho1 and @andykog to the repo!

from realworld.

robbiedhickey avatar robbiedhickey commented on April 29, 2024

I looked into the starter kit, but it occurred to me that it might make more sense to fork the existing React + Redux example app and refactor reducers to @observable stores. Any drawbacks to this approach?

I started a fork that adds the Mobx dependencies and migrates to custom-react-scripts to enable decorator support.

from realworld.

rwieruch avatar rwieruch commented on April 29, 2024

Thanks for mentioning. Just to give you some resources:

from realworld.

EricSimons avatar EricSimons commented on April 29, 2024

@hodorswit I just updated the issue status + set up a Gitter room where we can handle collaborator coordination 👍

from realworld.

mweststrate avatar mweststrate commented on April 29, 2024

@capaj @andykog @benjamingr @mattruby anybody interested? ^

from realworld.

benjamingr avatar benjamingr commented on April 29, 2024

@mosho1

from realworld.

mweststrate avatar mweststrate commented on April 29, 2024

[Completely offtopic] @mosho1: Wondering about it since Friday, since I forgot to ask it, but did we meet last Friday without me realizing it? ;-) [/Completely offtopic]

from realworld.

mattruby avatar mattruby commented on April 29, 2024

I'm out on this one. Yoyo exhibition tomorrow I need to prep for!

from realworld.

EricSimons avatar EricSimons commented on April 29, 2024

@hodorswit wanna add @andykog to the repo & coordinate work? Feel free to use the gitter room I set up for this Mobx implementation if need be :)

from realworld.

EricSimons avatar EricSimons commented on April 29, 2024

Woot! Can one of the MobX folks here take a peek at @andykog's codebase and provide feedback (and/or approve it)? 💪

from realworld.

mweststrate avatar mweststrate commented on April 29, 2024

@andykog wot that was quite an endeavour! looking good and idiomatic!

Didn't check all the components, but a small thing I noticed in the stores: ArticleStore has both articles and articlesRegistery. Could articles be expressed as @computed get articles() { return this.articlesRegistery.values() }?

from realworld.

andykog avatar andykog commented on April 29, 2024

@mweststrate, I think arrays are generally better suited for managing order, but in our case you proposition should work great. Thanks for the review!

from realworld.

andykog avatar andykog commented on April 29, 2024

(done)

from realworld.

EricSimons avatar EricSimons commented on April 29, 2024

@andykog @hodorswit just added you both to the 'offical' repo — also have react-mobx.realworld.io pointed to github pages, so feel free to set up GH pages branch and it will show up live at that URL :)

from realworld.

EricSimons avatar EricSimons commented on April 29, 2024

Just added the repo to the main README btw — amazing work guys! 👍 💯

Lmk when you have the GH pages set up & I'll close out this issue

from realworld.

robbiedhickey avatar robbiedhickey commented on April 29, 2024

@EricSimons The demo is running via gh-pages at the following URL https://gothinkster.github.io/react-mobx-realworld-example-app 👍

For some reason the https://react-mobx.realworld.io URL is 404'ing. Is it worthwhile to troubleshoot this or do you think the default gh-pages link is fine?

from realworld.

anishkny avatar anishkny commented on April 29, 2024

https://react-mobx.realworld.io is up now

from realworld.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.