-
-
Notifications
You must be signed in to change notification settings - Fork 634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inferno V4 plans #1049
Comments
How about #928? i'd like to use inferno as es2015 modules in my projects.
I'm in love with it already |
Flow types in |
Can we please add |
What i'd like to see, tough it's not a feautre, is to have separate repository for each inferno project. So split the core, the router, the compat etc, into different repositories, as it is on npm. I think issues would be more focused on the specific problem inside of the specific part of inferno, and the code would be easier to find(not that now it's hard, don't get me wrong). If there's a reason why you're keeping all the code inside one repository I'd like to know and we could discuss the pros and cons |
@Luke123443 the reasons are pretty much summed up here: |
@kurdin yes. I think we could introduce new flag for that purpose, something like always re-create ? But there will still be overhead because we need to support lifecycle events. Anyway V4 should make diffing faster because currently Inferno uses keyed algo by default but that is most likely changing in next version. |
I'm moving this epic to v5. We are trying to create one more fully stable major version branch before going into topics discussed in this thread. V4 will be Long Time Support version (1year?) and we will try to minimize the differences to React v15. (fe. setState) Also we are planning to include latest versions of Redux/Mobx integrations with release v4 as well as go through all plugins under InfernoJS organization and update them to match upcoming v4. |
I'm closing this as V4 is moving to testing only phase soon. Status of topics discussed in this thread:
|
I created this issue with the purpose of starting discussion on what new functionality we should bring in the next major release.
Remove normalization
We will at least improve performance even further, this will be done by removing normalization. Main reason behind this decision is that most of the community don't know or don't care what it is and how or when it can be disabled. This should give major performance increases Server side, because most of the time it was unnecessary work to normalize there. Removing normalization will also make codebase smaller in size. By removing normalization we will make sure code runs faster when not using it so most of the community / inferno users will benefit from this change.
Component root level arrays
Another larger task is to start supporting
Array
root nodes from Components. So you could write code like this:This has been probably the most wanted single feature, it allows developers to be more creative than before and not bloating the DOM with unnecessary divs.
Force update for functional components?
There has been discussion about implementing some way of forceUpdating stateless components. This would reduce overhead and make integration with Mobx and other state management frameworks cleaner. This idea still needs more planning & designing.
What else would you like to see in the next major version of Inferno?
The text was updated successfully, but these errors were encountered: