hassanzohdy / react-router

A Simple powerful react router system
5 stars 1 forks source link

clarification readme section middldeware returns value #3

Closed KariMuhammad closed 1 month ago

KariMuhammad commented 2 months ago

I wanted to clarify that when I returned 0 as a number value or Boolean false, the page component is rendered not the falsy values I returned! Otherwise, any returned truthy values cut off the middleware cycle and returned these truthy values instead.

it may be a little bit clarification for documentation I think.