super.sayHi(...Array.from(arguments))to invoke the method on the parent super class.
afterReflexto create UI spinners for anything that might take more than a heartbeat to complete. In addition to providing helpful visual feedback, research has demonstrated that acknowledging a slight delay will result in the user perceiving the delay as being shorter than they would if you did not acknowledge the delay. This is likely because we've been trained by good UI design to understand that this convention means we're waiting on the system. A sluggish UI otherwise forces people to wonder if they have done something wrong, and you don't want that.
autofocusattribute is only processed on the initial page load. If you want to implement a "click to edit" UI, you need to use a life-cycle callback method to make sure that the focus lands in the right place.
afterReflexcallback to inspect the element to see if it has the
autofocusattribute and, if so, correctly set the focus on that element.
touch: trueoption on your
morphwith a more terse syntax:
data-reflex-rootattribute containing a CSS selector that points to same DOM element where your template begins:
bodytag and not know what to do.
I18n.localeusing a helper that you can define in your
.ymlfiles automatically reload when the browser refreshes, we've got you covered:
Current.useraccessor is now available in your Reflex action methods.
idof the current
Useron messages logged from your
#character to the beginning of the generated id. Where the original function was intended for use in ActionView ERB templates, that
#makes it perfect for use on the server, where the
#character is required to refer to a DOM element id attribute.
rendermethod of the
ActionDispatch::Flash::FlashHashfor the current request via the
flashaccessor inside of a Reflex action.
webpack-dev-serverto reload after Reflex changes
bin/webpack-dev-serverwhile you are building your application, you can add folders in your app to the list of places that are being monitored.