feat: add createContext utility for type-safe context
#16948
Merged
createContext utility for type-safe context
#16948