Tram-One / tram-one

🚋 Legacy View Framework For Vanilla Javascript
http://tram-one.io/
MIT License
36 stars 8 forks source link

Fragments break Observables #201

Open JRJurman opened 1 year ago

JRJurman commented 1 year ago

Summary

When building https://github.com/JRJurman/ua-character-guide, it was discovered that using a fragment broke global observables (potentially local observables as well). Components did not update when the state was updated in the store.

The work-around is to separate the component into it's own file.