Giter Club home page Giter Club logo

Comments (2)

moveson avatar moveson commented on July 29, 2024 1

@leastbad Thanks for the helpful response. The pattern I was using was the problem, and I've figured out a better solution.

from stimulus_reflex.

leastbad avatar leastbad commented on July 29, 2024

Hi @moveson! I don't think you're in the Discord channel... yet? 😁

I have one piece of bad news and two pieces of good news for you.

It's not likely that StimulusReflex will ever work the way you describe because it's a can of worms and a slippery slope towards a dozen what-if scenarios that would bloat the API and logic like a cancer if we tried to account for every scenario. You are, of course, free and encouraged to modify the library to fit your needs.

The first good news is that while I can't read your mind, I think that I understand what you're ultimately trying to accomplish and I wrote the gem you don't realize you're looking for: Optimism.

The second good news is that CableReady - the library upon which StimulusReflex is built - allows you to take direct control of your DOM elements and more via websockets. With clever use of CableReady, you can morph any element you wish along with 12 other methods including emiting DOM events.

from stimulus_reflex.

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.