slovnicki / beamer

A routing package built on top of Router and Navigator's pages API, supporting arbitrary nested navigation, guards and more.
MIT License
591 stars 129 forks source link

❓ I have a couple of questions that I can't find answers to in the documentation alone #671

Closed stan-at-work closed 2 months ago

stan-at-work commented 4 months ago

I have a couple of questions that I can't find answers to in the documentation alone:

/// Takes priority over all other siblings,
/// i.e. sets itself as active and all other siblings as inactive.

Suggestion:

/// [buildBeamStack] determines whether a [BeamStack] should be created
/// from [configuration], using the [stackBuilder]. For example, when using
/// [beamTo] and passing an already created [BeamStack], this can be false.

I suggest renaming this or updating the documentation to provide a clearer explanation of when and why this parameter should be used.