News for hackers. Stuff that matters.
Re:Micro Frontends by BoiledCabbage on Tuesday June 11, 2019 @10:30AM (#20155723)
I'm confused. You say "business logic", but mention a "dumb button" which is the exact opposite of business logic.

Business logic would be the logical code to determine if a user is up to date on their payments. This logic is the same whether it is being used on desktop or android front end, in a back end job or API. And if this changes, it would change in all places simultaneously.

A button is technology specific component and should be shared with caution as technology requirements differ and change. The "up to date on payments" logic is inherent to your business. This is business logic and absolutely should be shared.

Re:Micro Frontends by shados on Wednesday June 12, 2019 @09:54AM (#20164622)
The button was the example of something that is okay to share because its not business logic.