-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Description
Is it possible to integrate business logic written in Javascript, with a Flutter app?
We use a Redux style business logic layer in our enterprise web app; We cannot afford to write this logic in two separate languages.
Would it be possible to run a Javascript thread on the V8 engine, inside a Flutter app? Then, the flutter app would talk to the business logic via a simple interface, with flutter taking the responsibility of much of the UI / navigation, leaving the responsibility of the app logic to the shared business layer?
We are deciding whether or not to go with a React Native implementation. Right now, that's the only platform which can support this code sharing scenario. We'd be interested in Flutter if it were possible to share Javascript business logic.