Comments (8)
@Domthegrom This is why that works:
https://github.com/calebmer/connect/blob/master/web/next.config.js#L11
from connect.
React native will be getting Hooks eventually. Is this something that you may want to push back on that way we can use RN out of the box.
How would you plan to use react web components as React Native components?
I am a bit familiar with React Native to Web using https://github.com/necolas/react-native-web
But I haven't seen a transition from web components to native components.
from connect.
Since they use the same API the web components should just “work” in React Native. For example, take a look at:
connect/workspaces/web/src/ProfileSignature.tsx
Lines 13 to 38 in 0e7143a
It uses <View>
instead of <div>
which should mean we can use it in React Native no problem.
from connect.
You can use View
in Web React?
from connect.
To me that looks like a React-Native
component that won't render in Web React. You imported View
from react-native
from connect.
@baruchadi with http://yarn.pm/react-native-web yes
from connect.
Looks like it renders to me @Domthegrom
from connect.
I did this, but didn’t even touch Android yet #18
from connect.
Related Issues (20)
- Forgot / Reset password HOT 4
- User settings page HOT 1
- Single Sign On (SSO) / OAuth2 / OpenID Connect / Social Login HOT 1
- Desktop Application HOT 1
- "Back button" on group page does "nothing" on mobile HOT 3
- Hyperlink support HOT 3
- Delete messages HOT 2
- Edit messages
- Ability to access sign in and sign up when authenticated
- Add logout functionality HOT 1
- Subscribe to a post HOT 3
- User status
- Contacts list HOT 2
- Empty conversation "feels" empty HOT 1
- Run API server on multiple cores HOT 4
- ☂️ Inbox HOT 4
- Setup a performance budget in Lighthouse CI
- Use a service for avatar images
- ☂️ Groups HOT 3
- Naming HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connect.