Can I combine Stoutem created with React Native with a Nativescript app - mobile

I have a NativeScript application which I would like to integrate, combine, or use with a new integrating app that I would like to build with Stoutem which is developed with Native Script and using it's own Cloud Storage. I would like to leverage the components, extensions or modules already built in Stoutem to use with my existing app.
Does anyone know how to achieve this or have tried it?
I am thinking of the routing or navigation. The data could be shared through API.
Update:
I got a suggestion on loading Stoutem Extensions in a frame under our NativeScript app.

Related

Can I use a react-native web module in a react app?

I have a module I created that uses #react-native-async-storage and I do know it uses LocalStorage for the web.
What I was wondering is whether I can use my module which uses #react-native-async-storage on a non-native react application?
I just tried to port it and it was giving me some errors starting up the app, but I think it's just my configuration.
Should I use react-native-web to convert a React-native app to a web app or implement it from scratch on React JS is a similar question, but I am looking for a smaller fragment of code rather than the whole app.

Exporting React Native app for web (HTML/JavaScript)?

I’ve built a small app with React Native and it looks awesome, but I was wondering - can I just export it for web (HTML/JavaScript) instead making a separate code in ReactJS for it? And if it’s possible, what are the pros and cons? BTW I used a free UI kit for the developing. Thanks!
You have two options:
Use react-native-web and share 90% the same source code, between native and webapp.
Good for non-complex projects;
If your app have native/complex navigation, then it will have issues, because this can't work on web.
Use web react and share some components.
Recommended for complex projects;
If you have a complex native app, share the components can be the best option;
bit.dev can be useful to achieve this solution.
More info:
https://blog.bitsrc.io/6-ways-to-share-and-reuse-react-components-6d80e2fd16cd
You can use Expo to build for any platform: IOS, Android, Web
For the web, you can use expo build:web
It creates a production ready static bundle in the web-build/ directory
Here is the full document for the web

How do I start to incorporate reactJs into existing laravel app

I have an application using laravel Frameworks 5.4.32 and I want to use reactJs for some sections of the app. What are the steps to integrate reactJs into the application and start building with it?
I'm not looking to just use Laravel as a backend with api endpoints. I'd still like to use the existing routing that the application already has through laravel, but I want to render some of the more dynamic elements using reactjs (such as a feed or notifications)
Looks like Laravel 5.5 now has reactjs integrated in but you have to be upgraded to php 7
https://laravel.com/docs/5.5/frontend#using-react

Sencha onUpdated() function & native apps

I have read much about this function and I understand how it works in the web environment.
This article gives a good explanation.
How does onUpdated work
What I would like to know is how do I get this to work on Native Apps
When you encapsulate a web app to build a native app using a framework like PhoneGap for example, you have to build the Sencha app in package mode that disable the use of the manifest, finally you have to copy the built app in the native OS specific folder of your app and build it to make the binary, so, the web app sources are inside your native binary and not downloaded from a server.
So, the "onUpdate" event is never triggered in native apps and you have to manually release a new version of the app every time you change the web app sources.

Is it possible to create a mobile App from ashx files

We have a mobileweb application that is written in ASP.NET (.ashx files) with Jquery. Is it possible to convert it into a native app using either Phonegap, Corona or similar platforms?
You could, but you may need to restructure your app.
PhoneGap (or one of the others) can load a framework starting page which is wrapped as a native app.
Inside your framework starting page, you can link to your .ashx file to download more jQuery-Mobile pages and data.

Resources