Skip to content
This repository has been archived by the owner on Jan 17, 2020. It is now read-only.

Change subscriptionsFn to take a model as an argument #116

Open
z0w0 opened this issue Jun 30, 2017 · 0 comments
Open

Change subscriptionsFn to take a model as an argument #116

z0w0 opened this issue Jun 30, 2017 · 0 comments

Comments

@z0w0
Copy link
Owner

z0w0 commented Jun 30, 2017

This is how Elm works, and I have to admit after working on an Elm project recently - it's 10x better then just returning subscriptions for the whole game state. It allows you to conditional define which subscriptions are needed at any point of runtime.

I think this is definitely possible with a few changes to how Elerea is inter-op'd with, I'm just struggling to realise what changes are required at the moment..

@z0w0 z0w0 added this to the 2.0.0 milestone Jun 30, 2017
@z0w0 z0w0 changed the title Investigate changing subscriptionsFn to take a model as an argument Change subscriptionsFn to take a model as an argument Jul 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants