strudel
strudel copied to clipboard
fix(Strudel exports): Changed case of Element export to match documen…
…tation
BREAKING CHANGE: Usage of element will no longer work
fix #125
Will provide appropriate codeshift script
Element is a class, but what is exported is a factory - a function generating class instances. Uppercase suggest that you need to instantiate something with new
keyword (unless a decorator) which is not a case here.
Such a breaking change doesnt seem to be worth it imho, maybe there are better ways of handling this. Breaking change would require 2.0 release. If documentation is incorrect fix the documentation.