Hacker Newsnew | past | comments | ask | show | jobs | submit | winkerVSbecks's commentslogin

Thanks, I'm glad the explanation was helpful. I'm always worried that my explanations make no sense to anyone.


Same, the pmndrs folks at least pulled some of the examples stuff into https://github.com/pmndrs/three-stdlib which is ESM


Storybook 6.2 added support for Webpack5. Might want to give it another go https://storybook.js.org/blog/storybook-for-webpack-5/


Storybook pairs extremely well with https://www.chromatic.com to give you that great test automation experience. Essentially Chromatic runs visual diffing for all your stories. You can run them on multiple browsers and even for multiple view port sizes.


It actually pairs well because this is a SaaS service run by the maintainers of Storybook.


Yea absolutely. I've used it on a few projects. The workflow is slightly different since the stories on the the simulator/device but, you get all the same benefits.


Can you elaborate on the workflow you use? The web storybooks can be hosted which makes it easily shareable with anyone but the RN version cannot be shared easily - we need to build the storybook and run it inside the simulator.


The distribution mechanism is different. The Stories can't be hosted on the web but, you can embed them in the app itself and give people access to it with a dev mode flag.

https://github.com/storybookjs/react-native#optionally-run-s...


This is if your components are in the app’s codebase itself and not in a shared components library. The workflow there gets a bit messy IMO since you probably need to then maintain an entirely separate RN app just for the storybook in that component library’s codebase, which leads to a decent amount of redundant work when upgrading RN versions.


For everyone complaining about the lack of meatballs… here are some: https://codepen.io/winkerVSbecks/full/oGJLwo/


this is so well done! I'm going to have to try out real metaballs now.


That is awesome!


Absolutely. This is by far worst way to render metaballs But, I love that you can do this as just paths.


Far from the worst: if the update rate is reasonably low, this approach makes it a lot simpler to handle high-resolution displays, event registration. It should also run on a few more browsers and devices.


¯\_(ツ)_/¯ you could probably make 3D bezier curves to generate the connector. The real iso-surface metaball definitely works in 3D.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: