You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the naming for static conflicts with the keyword static which i keep running into linting problems etc as it does not at all like that.
import{staticasImmutable}from'seamless-immutable'
this does appear to work but for example with flow you can not use static ANYWHERE
I am sure there are other places where this conflict will come into play in order to use the library in the recommended manner.
Perhaps instead something like
import{seamlessasImmutable}from'seamless-immutable'// orimport{StaticImmutable}from'seamless-immutable'// orimport{I}from'seamless-immutable'// supah short
or similar?
I would imagine you can keep the static export but would be good to have some sort of other option to use other than the static naming to do this.
The text was updated successfully, but these errors were encountered:
Err yeah what's more is this basically completely breaks flow and the entire app - seamless-immutable can not go with flow when using the recommended way or every single file is an error automatically :(
Maybe we can export it under the alias functional or fp? From what I've seen that is pretty standard in community packages that have a functional version of their code.
For backwards compatibility it could be exported under static as well.
the naming for static conflicts with the keyword static which i keep running into linting problems etc as it does not at all like that.
this does appear to work but for example with flow you can not use static ANYWHERE
I am sure there are other places where this conflict will come into play in order to use the library in the recommended manner.
Perhaps instead something like
or similar?
I would imagine you can keep the static export but would be good to have some sort of other option to use other than the static naming to do this.
The text was updated successfully, but these errors were encountered: