kolodny / safetest

MIT License
1.31k stars 31 forks source link

SolidJS adapter #1

Closed mosheduminer closed 3 months ago

mosheduminer commented 3 months ago

I'd be interested in creating an adapter for Solid, what needs to be done to create an adapter?

kolodny commented 3 months ago

Awesome! You can take a look at https://github.com/kolodny/safetest/blob/main/src/react.ts it be pretty simple to adjust it for Solid. I see that Solid even has Context, it'd be nice if we can also have a createOverride (in React it uses React Context) mechanism for Solid as well, up to you about that part.

mosheduminer commented 3 months ago

Closed via #3.