I am a software engineer with a strong focus on modern frontend technologies. I've helped build digital products for brands like Google, BBC, NatWest/RBS and NHS.
Mobile and web are different platforms and often we want to take advantage of this to offer different user experiences. Reusability is great, but having the ability to separate when needed is better.
NativeScript, for example, takes a different approach to code sharing.
I wrote about code reusability for cross-platform experiences (web, mobile and voice) on this article.
My main focus is JavaScript specialising in frontend UI with React. I like to explore different frameworks and technologies in my spare time. Learning languages (programming and real life) is a blast.
Location
London
Education
Bachelor of Design Innovation in Media Design, Victoria University of Wellington
Good article and good points. The ability to share business logic is paramount and likely prevents the most number of bugs between versions.
I think it’s great to share certain components too but you’re right, there has to be an escape hatch where you can have separate experiences for a platform. There is no one size fits all and a platform should allow for this.
Mobile and web are different platforms and often we want to take advantage of this to offer different user experiences. Reusability is great, but having the ability to separate when needed is better.
NativeScript, for example, takes a different approach to code sharing.
I wrote about code reusability for cross-platform experiences (web, mobile and voice) on this article.
Good article and good points. The ability to share business logic is paramount and likely prevents the most number of bugs between versions.
I think it’s great to share certain components too but you’re right, there has to be an escape hatch where you can have separate experiences for a platform. There is no one size fits all and a platform should allow for this.
From what I can tell, the approach specified in this article is nearly identical to how React Native (for web) shares code.