Twitter's website is absolute garbage, the feed is unresponsive, tweets fail to load, it's just terrible. If you're modeling your frontend off of anything please do not pick Twitter because their web experience is awful.
I rarely experience any of these issues and think their front end is quite good. Just their a11y / keyboard nav stuff is some of the best I've seen. Some questionable design choices but that's more of a product thing
Twitter.com's HTML, which is produced by React Native for Web, explained
51–60 of 163 posts
Re: Twitter.com's HTML, which is produced by React Native for Web, explained
#52Too much complexity with garbage excuses. A lot of the web is like that now. You can't link to a specific tweet. 'Nuff said
> You can't link to a specific tweet. 'Nuff said What? https://twitter.com/Twitter/status/1433462575438643206
Re: Twitter.com's HTML, which is produced by React Native for Web, explained
#53Twitter's website is absolute garbage, the feed is unresponsive, tweets fail to load, it's just terrible. If you're modeling your frontend off of anything please do not pick Twitter because their web experience is awful.
Re: Twitter.com's HTML, which is produced by React Native for Web, explained
#54Earlier quoted context omitted.
I rarely experience any of these issues and think their front end is quite good. Just their a11y / keyboard nav stuff is some of the best I've seen. Some questionable design choices but that's more of a product thing
You literally can't use the site properly when you're not logged in (and I mean basic clicking on retweeted/quoted stuff shows a login page, clicking on people's names shows a login page etc.) - how is that good? (I mean sure, build your walled garden as you please, but then you have no business showing in search engine results.)
Re: Twitter.com's HTML, which is produced by React Native for Web, explained
#55Earlier quoted context omitted.
Not really as you'll have to do that work anyway if it doesn't exist. It's better to do a small extension than to duplicate all of your other shared code just to do that change. Most of the time there will already be a 3rd party extension, but it's really easy to make them. You will need some slight native experience, but you would need more for a full native app. With Titanium it wasn't easy to do these extensions,…
Point being these are leaky abstractions. You have to have some measure of knowledge as to how the underlying platform works in a professional context.
RN is useful if you're a solo dev, like myself, or a small team and you want to support all platforms.
I have enough knowledge to get all my apps in production, enough to make extensions for the platforms, and quite a bit in web to remake native features on the web. I am not what I consider an Apple or Android dev though, far from it.
I can learn from a middle out approach when it comes to all platforms. Similar to compilers and such, you can always go lower level to understand more and more, but it's not needed to get your vision out.
Re: Twitter.com's HTML, which is produced by React Native for Web, explained
#56I've been searching a stack which could allow for a single codebase to be rendered in Android, iOS, and the web, and React Native + React Native Web might be the top choice for that. Other competitor includes Flutter, which used to only render canvas on the web, but right now it seems they have an option to render as HTML as well. I bet the need for cross-platform stack might continue to rise in the future. It's just…
Granted, it leverages NativeScript, but it's really not that hard once you have that.
Re: Twitter.com's HTML, which is produced by React Native for Web, explained
#57Earlier quoted context omitted.
> You can't link to a specific tweet. 'Nuff said What? https://twitter.com/Twitter/status/1433462575438643206
Not possible for a single tweet that is deep in a thread of replies. You can only link the topmost tweet
Re: Twitter.com's HTML, which is produced by React Native for Web, explained
#58Twitter's website is absolute garbage, the feed is unresponsive, tweets fail to load, it's just terrible. If you're modeling your frontend off of anything please do not pick Twitter because their web experience is awful.
This is particularly frustrating, because my normal use case for this is that a bunch of new stuff loaded, which throws everything that's on the page already out of order, so then I can't see something that I know was there, that I was just looking at, and now searching for it doesn't work, either.
Re: Twitter.com's HTML, which is produced by React Native for Web, explained
#59Earlier quoted context omitted.
Not possible for a single tweet that is deep in a thread of replies. You can only link the topmost tweet
From the same thread I linked before: https://twitter.com/MR_Professor45/status/143346428085096038... - they give you context, if that's what you're meaning? But that is how it should work.
Re: Twitter.com's HTML, which is produced by React Native for Web, explained
#60The classic mistake of thinking role=button replaces . It doesn't (as mentioned in the linked PR comments). Native HTML buttons are supported by all user agents and assistive technology and provide keyboard and focus requirements by default [1]. The "short answer" they give as to why they did this (a flexbox bug) links to a comment from February saying this was fixed in Firefox 63. https://developer.mozilla.org/en-US…