Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
stimulus_reflex
Advanced tools
JavaScript client for [StimulusReflex](https://github.com/hopsoft/stimulus_reflex)
JavaScript client for StimulusReflex
yarn add stimulus_reflex
<!-- app/views/pages/example.html.erb -->
<html>
<head></head>
<body>
<a href="#" data-controller="example" data-action="click->example#doStuff">Do Stuff</a>
</body>
</html>
// app/javascript/controllers/example_controller.js
import { StimulusReflexController } from 'stimulus_reflex';
export default class extends StimulusReflexController {
doStuff(event) {
event.preventDefault();
event.stopPropagation();
// trigger a server side reflex and a re-render
this.stimulate('ExampleReflex#do_stuff', arg1, arg2, ...);
}
}
# app/reflexes/example_reflex.rb
class ExampleReflex < StimulusReflex::Reflex
def do_stuff(arg1, arg2, ...)
# computing...
end
end
FAQs
Build reactive applications with the Rails tooling you already know and love.
The npm package stimulus_reflex receives a total of 1,327 weekly downloads. As such, stimulus_reflex popularity was classified as popular.
We found that stimulus_reflex demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.