rubycentral/cfp-app

View on GitHub
app/javascript/packs/server_rendering.js

Summary

Maintainability
A
0 mins
Test Coverage
// By default, this pack is loaded for server-side rendering.
// It must expose react_ujs as `ReactRailsUJS` and prepare a require context.
var componentRequireContext = require.context("components", true);
var ReactRailsUJS = require("react_ujs");
ReactRailsUJS.useContext(componentRequireContext);