Giter Site home page Giter Site logo

Switch to standard boilerplate about prism HOT 5 CLOSED

dalgard avatar dalgard commented on May 24, 2024
Switch to standard boilerplate

from prism.

Comments (5)

tomkis avatar tomkis commented on May 24, 2024

I always found those boilerplates way too "blackbox". For me I prefer full control over the code and boilerplate. Maybe we could have examples for both?

from prism.

dalgard avatar dalgard commented on May 24, 2024

What you're saying sounds exactly like my argument? The run function is a black box, which takes away my control over the code.

It's not a difficult task to unravel your code, it's just that one would expect for users of redux-elm to be very familiar with the standard boilerplate for React + Redux projects – and not with your custom implementation, which consequently introduces some cognitive overhead that ought to have been avoided.

It makes me hesitant to use the redux-elm example/tutorial for new developers – they already have to deal with understanding basic boilerplate without the custom run stuff on top, something which I have seen fail in a real situation. "What about all the stuff I've already learned?" "Well, you see, this developer prefers to hide all that behind a custom API. We don't write it like that, though, because we need ..." Etc.

from prism.

tomkis avatar tomkis commented on May 24, 2024

What you're saying sounds exactly like my argument? The run function is a black box, which takes away my control over the code.

Oh yeah sure, my point was that this boilerplate should be very minimalistic so that everybody can understand what's going on under the hood. Maybe we could document the function better.

from prism.

kdalgaard avatar kdalgaard commented on May 24, 2024

Definitely. Less is more.

from prism.

tomkis avatar tomkis commented on May 24, 2024

Closing, there's no additional boilerplate need. Redux-elm aka. prism is now just a set of helpers.

from prism.

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.