We talk about JavaScript. Each month in Warsaw, Poland.
Let's go!
We know how to write in React!
Know how to write action creators and reducers
Have concepts for functional components, class components and containers
Facebook support
React Native is a framework!
Quickly prototype layouts in a tight loop with UI designers
Reuse JS business logic code for the native app
Iteration without a compile cycle
Know how to write action creators and reducers
Have concepts for functional components, class components and containers
React Native is a framework!
Chess Clock app was a great success!
but had no dependencies...
and was rewritten from a JavaScript app
Homework for ambicious listeners!
Deploy might not work out
Dynamic development of the technlology
Finding libraries, dependecies
Slower rebuids
Deploy needs 3rd person approvement
You need a stronger machine
<WebView
{...props}
javaScriptEnabled
injectedJavaScript={injectedJavaScript}
source={source ? source : html ? { html } : url}
ref={x => {this.WebView = x;}}
onMessage={e => onMessage(e)}
/>
const injectedJavaScript = `(${String(() => {
document.querySelectorAll('a[href][target="_blank"]').forEach( link => {
link.onclick = (e) => {
e.preventDefault();
window.postMessage(JSON.stringify({
href: link.href
}))};
})
})})();`;
In complex apps knowledge of native languages is indispensable
Wins versus Objective-C / Java, but today it fights against Swift / Kotlin
Refactoring was too hard and it was too late to use TypeScript
Libraries always support one platform in a better way
They had to use and maintain their own fork of RN
They ended up in maintaining 3 different versions of the app
You'd love to have the problems that rise from this technology limitations, because this means you have millions of users and are rich enough to rewrite your app!