Make the new isClass function match how Mithril itself checks for class components: i.e. classes don't have to actually use class syntax, they just need to be functions that have a view method on their prototype. This would simplify the check, and prevent possible incompatibilities between mithril and mithril-node-render.
Make the new isClass function match how Mithril itself checks for class components: i.e. classes don't have to actually use class syntax, they just need to be functions that have a view method on their prototype. This would simplify the check, and prevent possible incompatibilities between mithril and mithril-node-render.