3.2.0 • Published 8 years ago
railcar v3.2.0
okay so i feel like i need a separate repo where i can sort of configure the core behaviour of energetic-headlight and kind of deploy it in its playable state
so like...
import { actions, components, store, etc } from "energetic-headlight";
document.addEventListener("DOMContentLoaded", () => {
  const app = document.createElement("div");
  document.body.appendChild(app);
  ReactDOM.render(
    <Provider store={store}>
      <components.Map />
    </Provider>,
    app
  );
  // and then maintain the details of ENTER_PLAY_MODE inside
  // energetic-headlight itself so that i dont bury myself
  // under lots and lots and lots of tedious multi-repo busywork
  // apart from just updating the energetic-headlight version in
  // package.json and redeploying i guess
  store.dispatch(actions.enterPlayMode());
});Contributing
Contributors are subject to v1.4 of the Contributor Covenant.
License
railcar is released under the MIT License.