feature-sliced / documentation

🍰 Architectural methodology for frontend projects
https://feature-sliced.design
MIT License
1.41k stars 147 forks source link

Fix name collisions documentation/tutorial.md #539

Closed lopezac closed 1 year ago

lopezac commented 1 year ago

Names collisions should be resolved at the level of public interface, not implementation. Here it exports directly FooCard, but it should export Card as FooCard, the same with FooThumbnail. Source: https://feature-sliced.design/docs/reference/public-api#resolution-of-collisions

Background

Changelog

netlify[bot] commented 1 year ago

Deploy request for pr-sliced accepted.

Name Link
Latest commit c98ecb6e2e1feb626224f8333ee47b3c89306afa
Latest deploy log https://app.netlify.com/sites/pr-sliced/deploys/637fa9aa6d2b770009dd5f12
unordinarity commented 1 year ago

@lopezac that's a good point, thank you for noticing