MCPcopy Create free account
hub / github.com/dot-agent/nextpy / get_initial_props

Method get_initial_props

nextpy/frontend/components/component.py:521–527  ·  view source on GitHub ↗

Get the initial props to set for the component. Returns: The initial props to set.

(cls)

Source from the content-addressed store, hash-verified

519 @classmethod
520 @lru_cache(maxsize=None)
521 def get_initial_props(cls) -> Set[str]:
522 """Get the initial props to set for the component.
523
524 Returns:
525 The initial props to set.
526 """
527 return set()
528
529 @classmethod
530 @lru_cache(maxsize=None)

Callers 1

__init__Method · 0.95

Calls 1

setFunction · 0.85

Tested by

no test coverage detected