Submit

Back to the channels

#primate

  1. * phaleth joined #primate
  2. * skillbot joined #primate
  3. * skillnews joined #primate
  4. phaleth solidjs is doing some breaking changes https://github.com/solidjs/solid/blob/next/documentation/solid-2.0/MIGRATION.md
  5. * phaleth joined #primate
  6. blue phaleth: wow
  7. blue phaleth: https://repopack.com/project/primate/tasks/80#message-3046
  8. nevet Repopack · Sign in
  9. blue did you configure the app to have another bundle for docs?
  10. blue also I'll look look at the size increase
  11. phaleth nope, another entrypoint has to be configured for each route?
  12. phaleth looks the size of @primate/core has been incresing, but it's not too bad given the trouble with SSE
  13. blue yes, phaleth; see https://repopack.com/project/primate/tasks/80#apps%2Fwebsite%2Fviews%2Fdocs%2Fdocs%2Fconfiguration.md
  14. nevet Repopack · Sign in
  15. phaleth does that mean for primate website we have to define `groups: { docs: "/docs", guides: "/guides", blog: "/blog" }` and only then those routes will be split?
  16. blue yes; note that the splitting as it is currently will create full (not shared) bundles for all three. so browsing between those fences will load those full bundles instead of reusing share code. If we need a shared code functionality, then we need to extend this feature
  17. phaleth ah, ok, sounds good
  18. blue sonuds good as in, we need shared bundles, or you're ok with how it is? probably for primate website shared common code is better for perf
  19. phaleth it depends on how big is the "core" of the primate website app
  20. blue I'll have clanker analyse.
  21. * blue clankering
  22. phaleth or in other words if the chunk being split out is 40 kB of JS or more then it's worth splitting the route
  23. blue hm, that's hard to know in advance
  24. phaleth yes, has to be tested on primate website, I think this scenario is ideal `groups: { app: "/", docs: "/docs", guides: "/guides"}`
  25. phaleth if the homepage app JS bundle size drops significantly then the implementation is good
  26. blue good goal definition
  27. blue phaleth: please check out primate#80 (you should get a bell)
  28. phaleth alright
  29. blue the last note is a bit clankered I feel "This would be a separate follow-up capability rather than an implicit change to #80's isolation contract.". I would implement everything as part of #80
  30. blue I wonder this feature done right in one go, not different tasks
  31. blue I want*
  32. phaleth yeah, I can see what you are trying to do there
  33. phaleth but it's getting a bit hairy
  34. blue you have a better direction?
  35. blue clanker came up with some overengineered conf object, I told him to simplify it
  36. phaleth yeah, checking the route prefixes is fine, no need for other operations
  37. phaleth I will just try it on primate website
  38. blue well, the graphs thing is good to avoid having full bundles
  39. blue otherwise /, /docs and /guides will all be very big, you gain nothing
  40. blue goal is for / to be small I think
  41. phaleth yeah, I'm reading
  42. phaleth typescript is getting in the way, but that's because primate still uses pnpm which kinda ignores TS errors it seems
  43. blue yes
  44. phaleth mind if I just fixed all those errors so we can get replace pnpm to make the development faster?
  45. blue sure
  46. phaleth ok, let me comment, I think it's not going well
  47. blue k
  48. phaleth done :)
  49. phaleth looks like for primate website itself current changes are not a big deal as the core of the JS bundle is just too big
  50. phaleth but if those changes are good for repopack after the bug I found is fixed then I think it's all good
  51. phaleth should I also respond to the `graphs` idea?
  52. blue yes
  53. phaleth alright
  54. phaleth clanker is always so confident :)
  55. phaleth anyway, this change prolly won't do much for primate website even with the graphs feature, but worth a shot I guess
  56. blue ya
  57. phaleth also it seems like the graphs feature won't be flawless, may as well abandon the idea
  58. blue why not? also dev clanker finished, review clanker is now checking
  59. blue (finished fix, I mean)
  60. blue btw if you have issues with graphs feature, please post in tank
  61. blue task*
  62. blue phaleth: pinged you
  63. phaleth it just looks to me the rabbit hole got too deep, but I can test
  64. blue we're not doing graphs yet, the fix was for the error you encountered
  65. blue ok phaleth, looks now like it's working for you, yes?
  66. blue by the way, what do you mean with "full load"? it's supposed to load the additional assets
  67. phaleth I will comment what I mean by full load
  68. blue k
  69. phaleth ok, commented
  70. blue great, I see you also asked for changes, so it's now in REVISION
  71. blue great
  72. phaleth heh
  73. * phaleth joined #primate
  74. * phaleth joined #primate
  75. * nevet joined #primate
  76. * blue!~blue@user/blue changed the topic to: https://primate.run | this channel is mirrored to the Primate discord, channel #irc
  77. * phaleth joined #primate
  78. * jreicher joined #primate
  79. * skillbot joined #primate
  80. * skillnews joined #primate

Search posts