infernojs / inferno

:fire: An extremely fast, React-like JavaScript library for building modern user interfaces
https://infernojs.org
MIT License
16.1k stars 635 forks source link

Implement className as function for compatibility with react-router. #1613

Closed jhsware closed 2 years ago

jhsware commented 2 years ago

Based on https://github.com/remix-run/react-router/commit/b3c7d9909e461256debf7f0ea3cd199912af0b64

This PR closes Issue #1607

UPDATE: Test pass now after having done a rebase on master. (I didn't run the tests before rebase so not sure if the problem was solved that way or just resolved itself)

coveralls commented 2 years ago

Coverage Status

Coverage increased (+0.004%) to 93.273% when pulling 6ae83480322e1e3e6465754e44665abd5496083a on jhsware:fix-inferno-router-navlink into 25b6ad10f108e00ef4467e2e5189663384151b76 on infernojs:master.

Havunen commented 2 years ago

LGTM, thx!