Y
Hacker News
new
|
ask
|
show
|
jobs
by
prothy
399 days ago
I might be missing your point, can you elaborate? If you want to write an if statement you just do it at the end of a component, after the hooks. It's a common pattern.