https://linen.dev logo
Join Discord
Powered by
# react
  • a

    ambitious-knife-25690

    11/04/2018, 6:00 AM
    With a way more established way of doing so
  • m

    miniature-summer-93860

    11/04/2018, 6:02 AM
    I doubt you could pull off infinite scroll to the degree I was able to with react native
  • a

    ambitious-knife-25690

    11/04/2018, 6:02 AM
    ???? Infinit scrolling was accomplished on react-native ages ago
  • m

    miniature-summer-93860

    11/04/2018, 6:03 AM
    and more freedom would be not using native components therefore why even use react native
  • a

    ambitious-knife-25690

    11/04/2018, 6:03 AM
    and it's absolutely amazing
  • a

    ambitious-knife-25690

    11/04/2018, 6:03 AM
    The amount of optimisations it has is insane
  • a

    ambitious-knife-25690

    11/04/2018, 6:03 AM
    Not at all?
  • m

    miniature-summer-93860

    11/04/2018, 6:04 AM
    I'd love to see an example
  • a

    ambitious-knife-25690

    11/04/2018, 6:04 AM
    CSS and flex boxes are not limiting in the slightest
  • m

    miniature-summer-93860

    11/04/2018, 6:04 AM
    I'm looking right now and they all have loading when you hit the bottom
  • a

    ambitious-knife-25690

    11/04/2018, 6:04 AM
    You realise that's intentional
  • a

    ambitious-knife-25690

    11/04/2018, 6:04 AM
    It's part of good design
  • m

    miniature-summer-93860

    11/04/2018, 6:05 AM
    🤔
  • a

    ambitious-knife-25690

    11/04/2018, 6:05 AM
    You adjust the threshold of when you want data to load
  • a

    ambitious-knife-25690

    11/04/2018, 6:05 AM
    it's up to the developer what they choose
  • m

    miniature-summer-93860

    11/04/2018, 6:05 AM
    I know but you can chunk and pre empt grabbing data before you hit the loader
  • a

    ambitious-knife-25690

    11/04/2018, 6:05 AM
    but either way, if someone does happen to reach the bottom then providing feedback is important
  • m

    miniature-summer-93860

    11/04/2018, 6:07 AM
    I don't think you're getting what I'm saying you should'nt show the loading text if you can afford it because it breaks from the experience. if you truly reach the end of content then you can show something other then loadin g
  • a

    ambitious-knife-25690

    11/04/2018, 6:07 AM
    There's always going to be that one guy who wants to rapidly flick to the bottom to try and beat the scrolling
  • m

    miniature-summer-93860

    11/04/2018, 6:08 AM
    yeah I know that haha idk maybe it's just a difference in approach
  • a

    ambitious-knife-25690

    11/04/2018, 6:08 AM
    Your approach is "load everything as quickly as possible" - which is fine
  • m

    miniature-summer-93860

    11/04/2018, 6:09 AM
    It's chunked just like react native
  • m

    miniature-summer-93860

    11/04/2018, 6:09 AM
    the difference is my infinite scroll is per object based and doesn't ever require a loading text
  • a

    ambitious-knife-25690

    11/04/2018, 6:10 AM
    That's a lot of http calls for your server, that won't scale very well
  • m

    miniature-summer-93860

    11/04/2018, 6:10 AM
    so like when a post goes off the screen it's reloaded as the next newest post at the bottom
  • m

    miniature-summer-93860

    11/04/2018, 6:10 AM
    it's not it's the same as react native
  • m

    miniature-summer-93860

    11/04/2018, 6:10 AM
    it's based on per 20-30 post single call basis
  • m

    miniature-summer-93860

    11/04/2018, 6:10 AM
    just like a page
  • a

    ambitious-knife-25690

    11/04/2018, 6:10 AM
    Tbh I don't really understand what your issue is with react-native's scrolling
  • a

    ambitious-knife-25690

    11/04/2018, 6:11 AM
    it's fully customisable and the experience I think you're commenting on is just the industry standard
12345...80Latest