Pavel Martynov

Results 52 comments of Pavel Martynov

Yes, components accept only one argument that can be a props object like in vdom libs. And yes, you can use preventDefault, it should work properly. Keep in mind that...

Yeah, this is indeed a bug. At the moment, you can get around it wrapping `getError` in additional element, span for example. I'll fix it a bit later.

@Dan-Do, sorry, I can't reproduce the issue. Can you provide codesandbox for it? One problem I noticed is where you accessed `isOk` whereas it should be `isOk()`. Are you talking...

Also, for local state, I would advice to try use simple primitives. In this case only thing is that you have to add `invalidate` calls to your event handlers, to...

@Dan-Do I see, you were talking about event handler calls. This is also an issue. I'm going to check both of these issues on this week.

@Dan-Do okay, fixes are live, it's version 0.1.16. For this example now click works properly: https://github.com/Freak613/1more/issues/7#issuecomment-878765612 And for this, as I understand the problem was that it throws an error...

@Dan-Do okay, apparently this one is related to previous fix. Fixed this one also in version 0.1.18, so all 3 last cases should work.

> @Freak613 I don't know if I am doing wrong, please help me check the below html. The error is can't access property "t", l is undefined > ```javascript >...

There was another discussion with plans regarding observable replacement: https://github.com/Freak613/1more/issues/3#issuecomment-844507661 I'm still targeting the plan and have all the working code. The only thing I got struggled with is API...

The function that you return in component is its re-render function. So what’s happening is you asking to rerender the component through `getData` each time it’s rendering. Why you calling...