React.js ~The best practice for conditional statement~

· Dev.to