to vs resource | What are the differences? | StackShare