ernsheong / lite-signal

Simple Pub-Sub Messaging for Polymer 2
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Polymer 3 #5

Open chisholmd opened 4 years ago

chisholmd commented 4 years ago

Any plans to update this for Polymer 3?

ernsheong commented 4 years ago

Sorry, not really. I've moved on to LitElement for now, so it doesn't really make sense for me to support Polymer 3.

I would recommend an event listener up in the DOM tree instead, just plain Vanilla JS stuff. Less magic and less component dependencies.

chisholmd commented 4 years ago

Thanks. Ya...I am trying vanilla js components now and so far so good. And I found pubsub.js.

Just btw, thanks for lite-signal. It introduced me to the best pattern yet for web component development. Simply elements can be used with attributes but for everything Infound tieing everything together with attributes made everything really brittle and totally dependent on location in the dom. Plus I still had the problum of broadcasting global state changes. Pubsub (lite-signals) really works great and totally freed me up to focus on features and ux.

So thanks :)

On Thu., Feb. 20, 2020, 03:44 Jonathan ES Lin, notifications@github.com wrote:

Sorry, not really. I've moved on to LitElement for now, so it doesn't really make sense for me to support Polymer 3.

I would recommend an event listener up in the DOM tree instead, just plain Vanilla JS stuff. Less magic and less component dependencies.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ernsheong/lite-signal/issues/5?email_source=notifications&email_token=ADHG55ZDFGGLYNSC7ASGWITRDXVAVA5CNFSM4KU3OJ52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMKQRWA#issuecomment-588581080, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHG5546EC3IIIC63Q3E333RDXVAVANCNFSM4KU3OJ5Q .