Update README.md

This commit is contained in:
Max Desiatov 2019-06-13 15:01:47 +01:00 committed by GitHub
parent d0016c3141
commit 48c1a67571
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 3 deletions

View File

@ -14,12 +14,22 @@ components backed by fully native views. You can use it for your new iOS apps or
add to existing apps with little effort and without rewriting the rest of the
code or changing the app's overall architecture.
Tokamak recreates [React Hooks API](https://reactjs.org/docs/hooks-intro.html)
improving it with Swift's strong type system, high performance and efficient
memory management thanks to being compiled to a native binary.
### Important: SwiftUI compatibility
Tokamak PoC was built at the end of 2018, months before SwiftUI was announced.
We do think that SwiftUI is the future of development not only for Apple's
platforms, but for older iOS/macOS versions and potentially other platforms too.
Thus, the short-term goal of Tokamak is to make the API more compatible with SwiftUI.
All contributions that help us in achieving this goal are much appreciated.
You can consider the current Tokamak API as deprecated, but still usable for
research and experimentation purposes.
### Why yet another React-like library?
In the current version Tokamak recreates [React Hooks API](https://reactjs.org/docs/hooks-intro.html)
improving it with Swift's strong type system, high performance and efficient
memory management thanks to being compiled to a native binary.
One of the strong points of React is that in general it makes app architecture
more declarative, but still preserves a smooth learning curve when compared to
more complex [FRP